Support KBDs for quickly editing common dotfiles
I had forgotten that I defined <SPC>J. Maybe I should switch to using Hydras or transient mode to improve the discoverability of my own setup... well in the spirit of support things that I will likely forget, here's a new KBD for editing config files in the `~/.config` directory.
This commit is contained in:
parent
ca8cb3fe21
commit
2c03651483
1 changed files with 4 additions and 1 deletions
|
@ -50,7 +50,10 @@
|
||||||
(f-join "~/Dropbox/dotfiles/configs/shared/.emacs.d" name)))
|
(f-join "~/Dropbox/dotfiles/configs/shared/.emacs.d" name)))
|
||||||
|
|
||||||
(when dotfiles/install-kbds?
|
(when dotfiles/install-kbds?
|
||||||
(evil-leader/set-key "J" #'dotfiles/edit))
|
(evil-leader/set-key "J" #'dotfiles/edit)
|
||||||
|
(evil-leader/set-key "c" (lambda ()
|
||||||
|
(interactive)
|
||||||
|
(counsel-find-file "~/.config"))))
|
||||||
|
|
||||||
(provide 'dotfiles)
|
(provide 'dotfiles)
|
||||||
;;; dotfiles.el ends here
|
;;; dotfiles.el ends here
|
||||||
|
|
Loading…
Reference in a new issue