diff --git a/emacs/data.el b/emacs/data.el index a9302cd..5e16c34 100644 --- a/emacs/data.el +++ b/emacs/data.el @@ -15,11 +15,6 @@ "Binds a key into `agw-mode-map'." (define-key agw-mode-map (kbd (concat "C- " 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 diff --git a/emacs/init.el b/emacs/init.el index 9bd9744..b992553 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -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