diff options
Diffstat (limited to 'lisp/general.el')
-rw-r--r-- | lisp/general.el | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/general.el b/lisp/general.el index 2428518..4bbf6f0 100644 --- a/lisp/general.el +++ b/lisp/general.el @@ -146,7 +146,8 @@ (interactive) (call-interactively #'make-empty-file) (neotree-show) - (neotree-refresh)) + (neotree-refresh) + (other-window -1)) (bind-key* (kbd "M-n") 'my-create-file) @@ -155,7 +156,8 @@ (interactive) (call-interactively #'make-directory) (neotree-show) - (neotree-refresh)) + (neotree-refresh) + (other-window -1)) (bind-key* (kbd "M-N") 'my-create-directory) (defun my-delete-file () @@ -163,7 +165,8 @@ (interactive) (call-interactively #'delete-file) (neotree-show) - (neotree-refresh)) + (neotree-refresh) + (other-window -1)) (bind-key* (kbd "M-d") 'my-delete-file) (defun my-delete-directory () @@ -171,7 +174,8 @@ (interactive) (call-interactively #'delete-directory) (neotree-show) - (neotree-refresh)) + (neotree-refresh) + (other-window -1)) (bind-key* (kbd "M-D") 'my-delete-directory) (defun my-rename-file () @@ -179,7 +183,8 @@ (interactive) (call-interactively #'rename-file) (neotree-show) - (neotree-refresh)) + (neotree-refresh) + (other-window -1)) (bind-key* (kbd "M-r") 'my-rename-file) ;; Company mode for code completion |