diff options
author | Kyle Meyer <meyerkya@gmail.com> | 2013-07-14 14:18:43 -0400 |
---|---|---|
committer | Kyle Meyer <meyerkya@gmail.com> | 2013-07-14 14:20:16 -0400 |
commit | 5c7f406af3ed114c45f8f664ad8a02986581786b (patch) | |
tree | 7883001d33d7c2691a8b217e6caac51ee4150a0f /init | |
parent | 0771c2bd66ff3161c6a66a95208c4c9f1d5701ab (diff) | |
download | emacs.d-5c7f406af3ed114c45f8f664ad8a02986581786b.tar.gz |
bind server-edit to keychord
Diffstat (limited to 'init')
-rw-r--r-- | init/km-keychord.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/init/km-keychord.el b/init/km-keychord.el index 4a55245..9a95007 100644 --- a/init/km-keychord.el +++ b/init/km-keychord.el @@ -12,7 +12,10 @@ (key-chord-define-global ",s" 'save-buffer) (key-chord-define-global ",q" 'kill-this-buffer) (key-chord-define-global ",d" 'km/save-and-kill-buffer) -(key-chord-define-global ",e" 'eval-region) +(key-chord-define-global ",e" '(lambda () + (interactive) + (save-buffer) + (server-edit))) (key-chord-define-global ",c" 'km/toggle-line-or-region-comment) |