[Emacs] Add native Emacs tabs keybinds to global prefix
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lucien Cartier-Tilet 2022-12-18 17:07:37 +01:00
parent 06266f2a2e
commit 77231c8a20
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -8334,6 +8334,8 @@ Undefining some stuff to make keybind prefixes work correctly.
"SPC" '(counsel-M-x :wk "M-x") "SPC" '(counsel-M-x :wk "M-x")
"'" #'shell-pop "'" #'shell-pop
<<general-keybindings-gen(table=keybinds-tabs, prefix="TAB ")>>
<<general-keybindings-gen(table=keybinds-apps, prefix="a")>> <<general-keybindings-gen(table=keybinds-apps, prefix="a")>>
<<general-keybindings-gen(table=keybinds-apps-shell, prefix="as")>> <<general-keybindings-gen(table=keybinds-apps-shell, prefix="as")>>
<<general-keybindings-gen(table=treemacs-keybinds, prefix="at")>> <<general-keybindings-gen(table=treemacs-keybinds, prefix="at")>>
@ -8545,6 +8547,26 @@ My keybinds for my projects are prefixed by ~p~.
| t | ivy-magit-todos | | | t | ivy-magit-todos | |
| v | projectile-vc | | | v | projectile-vc | |
** Tabs
:PROPERTIES:
:CUSTOM_ID: KeybindingsTabs-kx5gn8b0foj0
:END:
Emacs has native tabs available, which can be interesting when working
on multiple projects at once between which we may want to switch. Tabs
allow the user not to have multiple frames while keeping the
advantages of having multiple frames.
My keybinds are prefixed by ~SPC TAB~.
#+name: keybinds-tabs
| Key | Function | Description |
|-----+--------------+-------------|
| | | tabs |
| » | tab-next | |
| « | tab-previous | |
| n | tab-new | |
| N | tab-new-to | |
| r | tab-rename | |
** Text ** Text
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: Keybindings-Text-yf0cb4s0baj0 :CUSTOM_ID: Keybindings-Text-yf0cb4s0baj0