docs(emacs): better keybinds for new repository

This commit is contained in:
Lucien Cartier-Tilet 2023-12-29 13:51:08 +01:00
parent 961f197db4
commit d3becb5e28
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -169,10 +169,10 @@ My buffer-related keybinds are all prefixed by ~b~.
My keybinds for file manipulation are prefixed by ~f~.
#+name: keybinds-files
| Key | Function | Description |
|-----+----------------------+-------------|
|-----+-------------------+-------------|
| | | files |
| f | counsel-find-file | |
| F | ivy-quick-find-files | |
| F | quick-find-files | |
| h | hexl-find-file | |
| r | counsel-recentf | |
| s | save-buffer | |
@ -182,12 +182,22 @@ I also have some keybinds dedicated to opening specific files.
#+begin_src emacs-lisp :tangle no
"fc" '((lambda ()
(interactive)
(find-file "~/org/config/emacs.org"))
:wk "emacs.org")
(quick-find-files nil "~/org/config/docs/emacs" "org"))
:wk "emacs config")
"fC" '((lambda ()
(interactive)
(quick-find-files nil "~/org/config/docs" "org"))
:wk "general config")
"fi" '((lambda ()
(interactive)
(find-file (concat user-emacs-directory "init.el")))
:which-key "init.el")
"fI" '((lambda ()
(interactive)
(quick-find-files nil
(expand-file-name "lisp" user-emacs-directory)
"el"))
:which-key "elisp config")
"fR" '((lambda ()
(interactive)
(counsel-find-file ""