init.el: Update projectile bindings

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2019-02-25 11:59:25 +05:30
parent f1e9996b8a
commit 04d807ffda

16
init.el
View file

@ -251,20 +251,28 @@
:states '(normal visual insert emacs) :states '(normal visual insert emacs)
:prefix "SPC" :prefix "SPC"
:non-normal-prefix "M-SPC" :non-normal-prefix "M-SPC"
"/" '(helm-projectile-rg
:which-key "ripgrep")
"TAB" '(switch-to-prev-buffer "TAB" '(switch-to-prev-buffer
:which-key "previous buffer") :which-key "previous buffer")
"SPC" '(helm-M-x :which-key "M-x") "SPC" '(helm-M-x :which-key "M-x")
;; fuzzy search
"ff" '(fzf :which-key "fuzzy file search") "ff" '(fzf :which-key "fuzzy file search")
;; Projectile
"/" '(helm-projectile-rg
:which-key "ripgrep")
"pf" '(helm-projectile-find-file "pf" '(helm-projectile-find-file
:which-key "find files") :which-key "find files")
"pF" '(helm-projectile-find-file-dwim
:which-key "find files dwim")
"pp" '(helm-projectile-switch-project "pp" '(helm-projectile-switch-project
:which-key "switch project") :which-key "switch project")
"pb" '(helm-projectile-switch-to-buffer "pb" '(helm-projectile-switch-to-buffer
:which-key "switch buffer") :which-key "switch buffer")
"pr" '(helm-show-kill-ring "pr" '(helm-projectile-recent
:which-key "show kill ring") :which-key "show recent")
"pd" '(helm-projectile-find-dir
:which-key "find dir")
"ph" '(helm-projectile
:which-key "helm projectile")
;; Buffers ;; Buffers
"bb" '(helm-mini :which-key "buffers list") "bb" '(helm-mini :which-key "buffers list")
;; Window ;; Window