Disabled C-z, added reasonable keybinds to resize windows

This commit is contained in:
Andrew Scott 2022-04-19 13:58:33 -04:00
parent baa807c445
commit d185c5c9dd
Signed by: a
GPG key ID: 3EB62D0BBB8DB381

View file

@ -40,6 +40,15 @@
;; No annoying Windows errors
(set-default-coding-systems 'utf-8)
;; Disable suspend-frame shortcut
(define-key global-map "\C-z" nil)
;; More reasonable keybinds for resizing windows
(global-set-key (kbd "S-C-<left>") 'shrink-window-horizontally)
(global-set-key (kbd "S-C-<right>") 'enlarge-window-horizontally)
(global-set-key (kbd "S-C-<down>") 'shrink-window)
(global-set-key (kbd "S-C-<up>") 'enlarge-window)
;; Improve scrolling
(setq mouse-wheel-scroll-amount '(1 ((shift) . 1))) ; one line at a time
(setq mouse-wheel-progressive-speed nil) ; don't accelerate scrolling