Archived
1
0
Fork 0

adjust home/end key binds so they are more intuitive and more consistent with other editors

This commit is contained in:
KemoNine 2024-08-01 12:37:06 -04:00
parent db7164eaa0
commit 258849fd5d

View file

@ -235,9 +235,11 @@
(global-set-key (kbd "C-c u") 'toggle-truncate-lines) (global-set-key (kbd "C-c u") 'toggle-truncate-lines)
(global-set-key (kbd "C-o") 'helm-find-files) (global-set-key (kbd "C-o") 'helm-find-files)
(global-set-key (kbd "C-k") 'kmn/dired-default-directory-on-left) (global-set-key (kbd "C-k") 'kmn/dired-default-directory-on-left)
(global-set-key (kbd "M-a") 'mark-whole-buffer) (global-set-key (kbd "C-a") 'mark-whole-buffer)
(global-set-key (kbd "C-a") 'kmn/smart-beginning-of-line) (global-set-key (kbd "C-S-a") 'kmn/smart-beginning-of-line)
(global-set-key (kbd "C-e") 'kmn/smart-end-of-line) (global-set-key (kbd "M-a") 'kmn/smart-beginning-of-line)
(global-set-key (kbd "C-S-e") 'kmn/smart-end-of-line)
(global-set-key (kbd "M-e") 'kmn/smart-end-of-line)
(global-set-key (kbd "C-c v") 'previous-buffer) (global-set-key (kbd "C-c v") 'previous-buffer)
(global-set-key (kbd "C-c w") (global-set-key (kbd "C-c w")
(lambda () (lambda ()