general: Improve key bindings

This commit is contained in:
marco 2023-08-13 22:57:44 +02:00
parent 56a12186ef
commit 81ed117d8b

21
init.el
View File

@ -180,8 +180,13 @@
(interactive) (interactive)
(find-file user-init-file)) (find-file user-init-file))
"t" '(:ignore t :which-key "themes") "th" '(:ignore t :which-key "themes")
"ts" 'consult-theme "ths" 'consult-theme
"ta" '(:ignore t :which-key "tabs")
"tac" 'tab-new
"taq" 'tab-close
"tar" 'tab-rename
"b" '(:ignore t :which-key "buffers") "b" '(:ignore t :which-key "buffers")
"bl" 'switch-to-buffer "bl" 'switch-to-buffer
@ -193,17 +198,19 @@
"p" '(:ignore t :which-key "projects") "p" '(:ignore t :which-key "projects")
"pf" 'projectile-find-file "pf" 'projectile-find-file
"psp" 'projectile-switch-project "pp" 'projectile-switch-project
"psb" 'projectile-switch-buffer "pb" 'projectile-switch-to-buffer
"o" '(:ignore t :which-key "org") "o" '(:ignore t :which-key "org")
"oi" 'org-insert-structure-template "oi" 'org-insert-structure-template
"odu" 'org-update-all-dblocks "odu" 'org-update-all-dblocks
"n" '(:ignore t :which-key "notes/navigation") "n" '(:ignore t :which-key "notes")
"nl" 'consult-notes "nl" 'consult-notes
"nxr" 'xref-find-references
"nxd" 'xref-find-definitions "x" '(:ignore t :which-key "xref")
"xr" 'xref-find-references
"xd" 'xref-find-definitions
)) ))