summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/general.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 46cda44..21abf07 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -45,9 +45,8 @@
;; Projectile for project navigation
(require 'projectile)
(projectile-mode +1)
-(define-key projectile-mode-map (kbd "s-q") 'projectile-command-map)
-(define-key projectile-mode-map (kbd "s-f") 'projectile-grep)
-(define-key projectile-mode-map [?\s-t] 'projectile-switch-project)
+(define-key projectile-mode-map (kbd "s-F") 'projectile-grep)
+(define-key projectile-mode-map [?\s-o] 'projectile-switch-project)
(define-key projectile-mode-map [?\s-p] 'projectile-find-file)
;; Ido mode text matching
@@ -69,6 +68,8 @@
(evil-define-key 'normal neotree-mode-map (kbd "A") 'neotree-stretch-toggle)
(evil-define-key 'normal neotree-mode-map (kbd "H") 'neotree-hidden-file-toggle)
+(add-hook 'after-save-hook 'neotree-refresh)
+
;; Smooth scroll
(setq redisplay-dont-pause t
scroll-margin 7
@@ -100,7 +101,8 @@
(bind-key* (kbd "C-x C-f") 'counsel-find-file)
(bind-key* (kbd "M-x") 'counsel-M-x)
(bind-key* (kbd "C-;") 'neotree-toggle)
-(bind-key* (kbd "M-F") 'projectile-grep)
+(bind-key* (kbd "s-N") 'make-empty-file)
+(bind-key* (kbd "s-D") 'make-directory)
;; Company mode for code completion
(use-package company