diff options
author | Alan Pearce | 2014-07-27 13:50:17 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-27 13:50:17 +0100 |
commit | 435bc6797ea984d73ccde1a7c41fd4367db3d05f (patch) | |
tree | f21a9a3c559c29c528bc999c01e1bee3f49864f1 /tag-emacs | |
parent | 0188037674cc96038af7d1c5167322b22e5470ab (diff) | |
download | nixfiles-435bc6797ea984d73ccde1a7c41fd4367db3d05f.tar.lz nixfiles-435bc6797ea984d73ccde1a7c41fd4367db3d05f.tar.zst nixfiles-435bc6797ea984d73ccde1a7c41fd4367db3d05f.zip |
Emacs: Rebind beg/end-of-statement to M-a/e
Allows C-M-f and C-M-b to be used for smaller movements.
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index de34b156..6dfaa87a 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) |