ctrl +tab bind for swapping windows

This commit is contained in:
Able 2024-12-05 20:37:59 -06:00
parent e809e9ddba
commit 1678ecf8a4

View file

@ -18,6 +18,9 @@
;; Spam Ctrl + s to save. ;; Spam Ctrl + s to save.
(global-set-key (kbd "C-s") 'save-buffer) (global-set-key (kbd "C-s") 'save-buffer)
;; Ctrl + Tab to alternate between other windows
(global-set-key (kbd "<C-tab>") 'other-window)
;; Prevent backspace from turning a tab character into 4 spaces. ;; Prevent backspace from turning a tab character into 4 spaces.
(setq backward-delete-char-untabify-method nil) (setq backward-delete-char-untabify-method nil)
@ -52,7 +55,6 @@
;; Set tab width, Doesn't seem to work :( ;; ;; Set tab width, Doesn't seem to work :( ;;
(setq-default tab-width 1) (setq-default tab-width 1)
;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;
;; Minor Modes ;; ;; Minor Modes ;;
;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;
@ -80,7 +82,6 @@
;; HBLang Mode ;; ;; HBLang Mode ;;
;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;
(defvar hblang-mode-syntax-table (defvar hblang-mode-syntax-table
(let ((table (make-syntax-table))) (let ((table (make-syntax-table)))
;; C and C++-style comments. ;; C and C++-style comments.