Tab-related stuff

This commit is contained in:
2022-10-10 22:41:15 -07:00
parent c2590972b8
commit 562c48cea9
2 changed files with 18 additions and 0 deletions

View File

@@ -108,6 +108,10 @@ Set some common settings, like global-auto-revert-mode.
;; TODO - Decide whether to enable this
;; (defalias 'yes-or-no-p 'y-or-n-p)
;; tabs are for monsters
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
#+END_SRC
** hl-todo
#+begin_src emacs-lisp
@@ -178,9 +182,14 @@ Set a location for the custom file so it doesn't pollute this file.
;; Tab management
("C-c w t c" . tab-bar-new-tab)
("C-c w t r" . tab-rename)
("C-c w t d" . tab-bar-close-tab)
("C-c w t n" . tab-bar-switch-to-next-tab)
("C-c w t p" . tab-bar-switch-to-prev-tab)
;; Mac keybindings for tab management
("s-t" . tab-bar-new-tab)
("s-}" . tab-bar-switch-to-next-tab)
("s-{" . tab-bar-switch-to-prev-tab)
;; Common keybindings with tab switching in browsers, for use with my mouse bindings
("C-<next>" . tab-bar-switch-to-next-tab)
("C-<prior>" . tab-bar-switch-to-prev-tab)