From 435bc6797ea984d73ccde1a7c41fd4367db3d05f Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 27 Jul 2014 13:50:17 +0100 Subject: Emacs: Rebind beg/end-of-statement to M-a/e Allows C-M-f and C-M-b to be used for smaller movements. --- tag-emacs/emacs.d/init.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index de34b15..6dfaa87 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -954,8 +954,8 @@ (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) -- cgit 1.4.1