+lazy loading to prefixes
Only after loading the 'major' package that the keybind depends on, will these keybinds be set
This commit is contained in:
@@ -43,6 +43,7 @@ I like monokai :)
|
|||||||
; General maps like <SPC>j for indenting because I don't know what else to bind them to
|
; General maps like <SPC>j for indenting because I don't know what else to bind them to
|
||||||
; <SPC>pf => project -> find file
|
; <SPC>pf => project -> find file
|
||||||
(:prefix "/" ; Search
|
(:prefix "/" ; Search
|
||||||
|
:after counsel
|
||||||
:desc "Ag!" "a" '+ivy/ag
|
:desc "Ag!" "a" '+ivy/ag
|
||||||
:desc "FZF!" "f" 'counsel-fzf
|
:desc "FZF!" "f" 'counsel-fzf
|
||||||
:desc "RipGrep!" "r" 'counsel-rg
|
:desc "RipGrep!" "r" 'counsel-rg
|
||||||
@@ -54,6 +55,7 @@ I like monokai :)
|
|||||||
; <SPC>// is quicker to do than <SPC>/b, for something that is done so often
|
; <SPC>// is quicker to do than <SPC>/b, for something that is done so often
|
||||||
|
|
||||||
(:prefix "w" ; Windows
|
(:prefix "w" ; Windows
|
||||||
|
:after ace-window
|
||||||
:desc "Close window" "d" '+workspace/close-window-or-workspace
|
:desc "Close window" "d" '+workspace/close-window-or-workspace
|
||||||
:desc "Switch window" "W" 'ace-window
|
:desc "Switch window" "W" 'ace-window
|
||||||
:desc "Swap windows" "S" 'ace-swap-window
|
:desc "Swap windows" "S" 'ace-swap-window
|
||||||
@@ -68,6 +70,7 @@ I like monokai :)
|
|||||||
; <SPC>bd is used for the same reasons as above
|
; <SPC>bd is used for the same reasons as above
|
||||||
|
|
||||||
(:prefix "p"
|
(:prefix "p"
|
||||||
|
:after projectile
|
||||||
:desc "Regen tags" "g" 'projectile-regenerate-tags
|
:desc "Regen tags" "g" 'projectile-regenerate-tags
|
||||||
:desc "Open project files" "f" 'projectile-find-file
|
:desc "Open project files" "f" 'projectile-find-file
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user