From 3bcee5db219a1b6f418c27e30f41cf1939c95c96 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 20 Jun 2013 16:17:38 -0400 Subject: toggle comment in line or region comment-dwim does not have the behavior I'd like for a single line: it starts a comment at the end of that line instead of commenting that line. --- init/km-keychord.el | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init/km-keychord.el') diff --git a/init/km-keychord.el b/init/km-keychord.el index 720855b..75017a8 100644 --- a/init/km-keychord.el +++ b/init/km-keychord.el @@ -15,3 +15,5 @@ (key-chord-define-global ",e" 'eval-region) (key-chord-define-global ",w" 'km/sync-mail) + +(key-chord-define-global ",c" 'km/toggle-line-or-region-comment) -- cgit v1.2.3