all repos — nixfiles @ 435bc6797ea984d73ccde1a7c41fd4367db3d05f

System and user configuration, managed by nix and home-manager

Emacs: Rebind beg/end-of-statement to M-a/e Allows C-M-f and C-M-b to be used for smaller movements.

Alan Pearce
commit

435bc6797ea984d73ccde1a7c41fd4367db3d05f

parent

0188037674cc96038af7d1c5167322b22e5470ab

1 file changed, 2 insertions(+), 2 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -954,8 +954,8 @@ :lighter " Cedit")
(defun turn-on-cedit-mode () (cedit-mode 1))) :config (progn - (bind-key "C-M-b" #'cedit-beginning-of-statement cedit-mode-map) - (bind-key "C-M-f" #'cedit-end-of-statement cedit-mode-map) + (bind-key "M-a" #'cedit-beginning-of-statement cedit-mode-map) + (bind-key "M-e" #'cedit-end-of-statement cedit-mode-map) (bind-key "C-M-d" #'cedit-down-block cedit-mode-map) (bind-key "C-M-u" #'cedit-up-block-backward cedit-mode-map) (bind-key "C-M-n" #'cedit-up-block-forward cedit-mode-map)