summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/km-keychord.el5
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)