From 16fc01084b66a661562cf9b39ab9c63b5f81f336 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Wed, 23 Dec 2015 15:42:25 -0800 Subject: [PATCH] Rebind expand region because emacs translates C-SPC as C-@ --- dotfiles/emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 3b7bb53..a55471f 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -467,6 +467,8 @@ (global-set-key (kbd "C-c n") nil) +(global-set-key (kbd "C-h C-k") nil) + ;; Neotree binds are prefixed by C-t (global-set-key (kbd "C-t t") 'neotree-toggle) (global-set-key (kbd "C-t n") 'neotree-create-node) @@ -519,7 +521,7 @@ (global-set-key (kbd "C-c r") 'linum-relative-toggle) ;; Expand region -(global-set-key (kbd "C-@") 'er/expand-region) +(global-set-key (kbd "C-h C-k") 'er/expand-region) ;;-------------------------------------------------------------------------------------- ;; Theme