adding and edit emacs config keybinding
This commit is contained in:
parent
ffc856a587
commit
fbbb6e385f
2 changed files with 23 additions and 6 deletions
13
README.org
13
README.org
|
@ -372,6 +372,14 @@ This evil-collection package includes a lot of other evil based things.
|
|||
:init
|
||||
(general-evil-setup)
|
||||
:config
|
||||
(defun chris/edit-emacs-config ()
|
||||
"open the emacs config to edit"
|
||||
(interactive)
|
||||
(find-file (expand-file-name "README.org" user-emacs-directory)))
|
||||
(defun chris/open-bible ()
|
||||
"find a bible to open"
|
||||
(interactive)
|
||||
(find-file "~/org/bibles/"))
|
||||
(general-create-definer chris/leader-keys
|
||||
:keymaps '(normal visual emacs)
|
||||
:prefix "SPC")
|
||||
|
@ -396,10 +404,11 @@ This evil-collection package includes a lot of other evil based things.
|
|||
"tt" '(consult-theme :which-key "choose theme")
|
||||
"tl" '(toggle-truncate-lines :which-key "truncate lines")
|
||||
"ff" '(find-file :which-key "find file")
|
||||
"fb" '((find-file ~/org/bibles/) :which-key "find bible book")
|
||||
"fb" '(chris/open-bible :which-key "find bible book")
|
||||
"fr" '(consult-recent-file :which-key "recent file")
|
||||
"fs" '(save-buffer :which-key "save")
|
||||
"fe" '(consult-file-externally :which-key "find file externally")
|
||||
"fE" '(consult-file-externally :which-key "find file externally")
|
||||
"fe" '(chris/edit-emacs-config :which-key "open config")
|
||||
"hf" '(helpful-callable :which-key "describe-function")
|
||||
"hv" '(helpful-variable :which-key "describe-variable")
|
||||
"hk" '(helpful-key :which-key "describe-key")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue