From 81ed117d8b66c390ffdb535ec102345f39aafd61 Mon Sep 17 00:00:00 2001 From: marco Date: Sun, 13 Aug 2023 22:57:44 +0200 Subject: [PATCH] general: Improve key bindings --- init.el | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/init.el b/init.el index 89a9c08..59e1b27 100644 --- a/init.el +++ b/init.el @@ -180,8 +180,13 @@ (interactive) (find-file user-init-file)) - "t" '(:ignore t :which-key "themes") - "ts" 'consult-theme + "th" '(:ignore t :which-key "themes") + "ths" 'consult-theme + + "ta" '(:ignore t :which-key "tabs") + "tac" 'tab-new + "taq" 'tab-close + "tar" 'tab-rename "b" '(:ignore t :which-key "buffers") "bl" 'switch-to-buffer @@ -193,17 +198,19 @@ "p" '(:ignore t :which-key "projects") "pf" 'projectile-find-file - "psp" 'projectile-switch-project - "psb" 'projectile-switch-buffer + "pp" 'projectile-switch-project + "pb" 'projectile-switch-to-buffer "o" '(:ignore t :which-key "org") "oi" 'org-insert-structure-template "odu" 'org-update-all-dblocks - "n" '(:ignore t :which-key "notes/navigation") + "n" '(:ignore t :which-key "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 ))