Tab-related stuff
This commit is contained in:
@@ -108,6 +108,10 @@ Set some common settings, like global-auto-revert-mode.
|
|||||||
|
|
||||||
;; TODO - Decide whether to enable this
|
;; TODO - Decide whether to enable this
|
||||||
;; (defalias 'yes-or-no-p 'y-or-n-p)
|
;; (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
|
#+END_SRC
|
||||||
** hl-todo
|
** hl-todo
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
@@ -178,9 +182,14 @@ Set a location for the custom file so it doesn't pollute this file.
|
|||||||
|
|
||||||
;; Tab management
|
;; Tab management
|
||||||
("C-c w t c" . tab-bar-new-tab)
|
("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 d" . tab-bar-close-tab)
|
||||||
("C-c w t n" . tab-bar-switch-to-next-tab)
|
("C-c w t n" . tab-bar-switch-to-next-tab)
|
||||||
("C-c w t p" . tab-bar-switch-to-prev-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
|
;; Common keybindings with tab switching in browsers, for use with my mouse bindings
|
||||||
("C-<next>" . tab-bar-switch-to-next-tab)
|
("C-<next>" . tab-bar-switch-to-next-tab)
|
||||||
("C-<prior>" . tab-bar-switch-to-prev-tab)
|
("C-<prior>" . tab-bar-switch-to-prev-tab)
|
||||||
|
|||||||
@@ -82,6 +82,10 @@
|
|||||||
;; TODO - Decide whether to enable this
|
;; TODO - Decide whether to enable this
|
||||||
;; (defalias 'yes-or-no-p 'y-or-n-p)
|
;; (defalias 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
|
;; tabs are for monsters
|
||||||
|
(setq-default indent-tabs-mode nil)
|
||||||
|
(setq-default tab-width 4)
|
||||||
|
|
||||||
(use-package hl-todo
|
(use-package hl-todo
|
||||||
:straight t
|
:straight t
|
||||||
:init
|
:init
|
||||||
@@ -132,9 +136,14 @@
|
|||||||
|
|
||||||
;; Tab management
|
;; Tab management
|
||||||
("C-c w t c" . tab-bar-new-tab)
|
("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 d" . tab-bar-close-tab)
|
||||||
("C-c w t n" . tab-bar-switch-to-next-tab)
|
("C-c w t n" . tab-bar-switch-to-next-tab)
|
||||||
("C-c w t p" . tab-bar-switch-to-prev-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
|
;; Common keybindings with tab switching in browsers, for use with my mouse bindings
|
||||||
("C-<next>" . tab-bar-switch-to-next-tab)
|
("C-<next>" . tab-bar-switch-to-next-tab)
|
||||||
("C-<prior>" . tab-bar-switch-to-prev-tab)
|
("C-<prior>" . tab-bar-switch-to-prev-tab)
|
||||||
|
|||||||
Reference in New Issue
Block a user