mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-12 15:20:50 -05:00
Disabled C-z, added reasonable keybinds to resize windows
This commit is contained in:
parent
baa807c445
commit
d185c5c9dd
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue