From 2c0365148399c7a09114ce3f982c6c87752f1c29 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Wed, 8 Jan 2020 15:19:24 +0000 Subject: Support KBDs for quickly editing common dotfiles I had forgotten that I defined 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. --- configs/shared/.emacs.d/wpc/dotfiles.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configs/shared/.emacs.d') diff --git a/configs/shared/.emacs.d/wpc/dotfiles.el b/configs/shared/.emacs.d/wpc/dotfiles.el index ba15fd4d6b5b..d7fd3e400e09 100644 --- a/configs/shared/.emacs.d/wpc/dotfiles.el +++ b/configs/shared/.emacs.d/wpc/dotfiles.el @@ -50,7 +50,10 @@ (f-join "~/Dropbox/dotfiles/configs/shared/.emacs.d" name))) (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) ;;; dotfiles.el ends here -- cgit 1.4.1