From 258849fd5dfc83518b33465af6ab9003e2ba5144 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Thu, 1 Aug 2024 12:37:06 -0400 Subject: [PATCH] adjust home/end key binds so they are more intuitive and more consistent with other editors --- common/_global.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/common/_global.el b/common/_global.el index a140659..ec70ccb 100644 --- a/common/_global.el +++ b/common/_global.el @@ -235,9 +235,11 @@ (global-set-key (kbd "C-c u") 'toggle-truncate-lines) (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 "M-a") 'mark-whole-buffer) -(global-set-key (kbd "C-a") 'kmn/smart-beginning-of-line) -(global-set-key (kbd "C-e") 'kmn/smart-end-of-line) +(global-set-key (kbd "C-a") 'mark-whole-buffer) +(global-set-key (kbd "C-S-a") 'kmn/smart-beginning-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 w") (lambda ()