emacs: use dired-create-empty-file instead of our own thing
parent
9752b23ff7
commit
c25ca8b868
|
@ -15,11 +15,6 @@
|
|||
"Binds a key into `agw-mode-map'."
|
||||
(define-key agw-mode-map (kbd (concat "C-<tab> " key)) def))
|
||||
|
||||
(defun agw-touch (fname)
|
||||
"Touches a file asynchronously."
|
||||
(interactive "FFile to touch: ")
|
||||
(start-process "agw-touch" nil "touch" (expand-file-name fname)))
|
||||
|
||||
(defun agw-prog-mode ()
|
||||
"Sets up `prog-mode'."
|
||||
(setq-local tab-always-indent nil
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
(agw-set-key "k" #'windmove-up)
|
||||
(agw-set-key "l" #'windmove-right)
|
||||
|
||||
(agw-set-key "t" #'agw-touch)
|
||||
|
||||
(agw-key-map)
|
||||
|
||||
|
@ -273,7 +272,8 @@
|
|||
(use-package dired
|
||||
:config
|
||||
(setq dired-listing-switches "-alhp --si")
|
||||
(agw-set-key "f" #'dired-jump))
|
||||
(agw-set-key "f" #'dired-jump)
|
||||
(agw-set-key "t" #'dired-create-empty-file))
|
||||
|
||||
(use-package ranger
|
||||
:ensure t
|
||||
|
|
Loading…
Reference in New Issue