docs(emacs): better keybinds for new repository
This commit is contained in:
parent
961f197db4
commit
d3becb5e28
@ -169,10 +169,10 @@ My buffer-related keybinds are all prefixed by ~b~.
|
|||||||
My keybinds for file manipulation are prefixed by ~f~.
|
My keybinds for file manipulation are prefixed by ~f~.
|
||||||
#+name: keybinds-files
|
#+name: keybinds-files
|
||||||
| Key | Function | Description |
|
| Key | Function | Description |
|
||||||
|-----+----------------------+-------------|
|
|-----+-------------------+-------------|
|
||||||
| | | files |
|
| | | files |
|
||||||
| f | counsel-find-file | |
|
| f | counsel-find-file | |
|
||||||
| F | ivy-quick-find-files | |
|
| F | quick-find-files | |
|
||||||
| h | hexl-find-file | |
|
| h | hexl-find-file | |
|
||||||
| r | counsel-recentf | |
|
| r | counsel-recentf | |
|
||||||
| s | save-buffer | |
|
| s | save-buffer | |
|
||||||
@ -182,12 +182,22 @@ I also have some keybinds dedicated to opening specific files.
|
|||||||
#+begin_src emacs-lisp :tangle no
|
#+begin_src emacs-lisp :tangle no
|
||||||
"fc" '((lambda ()
|
"fc" '((lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(find-file "~/org/config/emacs.org"))
|
(quick-find-files nil "~/org/config/docs/emacs" "org"))
|
||||||
:wk "emacs.org")
|
:wk "emacs config")
|
||||||
|
"fC" '((lambda ()
|
||||||
|
(interactive)
|
||||||
|
(quick-find-files nil "~/org/config/docs" "org"))
|
||||||
|
:wk "general config")
|
||||||
"fi" '((lambda ()
|
"fi" '((lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(find-file (concat user-emacs-directory "init.el")))
|
(find-file (concat user-emacs-directory "init.el")))
|
||||||
:which-key "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 ()
|
"fR" '((lambda ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(counsel-find-file ""
|
(counsel-find-file ""
|
||||||
|
Loading…
Reference in New Issue
Block a user