about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2017-06-20T11·48-0400
committerWilliam Carroll <wpcarro@gmail.com>2017-06-20T11·48-0400
commit8fbafc3a5cf6a16aff65ee87af243ec598b4c08f (patch)
tree15b2f0ed6db4925f46e54f574e24459538275c72 /emacs
parent5e5c4b0c38c8d9f6061d05fa12b7978a6548966d (diff)
Conditionally enables Evil; adds Dired+; conditionally applies linum
Diffstat (limited to 'emacs')
-rw-r--r--emacs/wc-helper-functions.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/emacs/wc-helper-functions.el b/emacs/wc-helper-functions.el
index 7d6597b9e18c..8c14d43b2c22 100644
--- a/emacs/wc-helper-functions.el
+++ b/emacs/wc-helper-functions.el
@@ -135,10 +135,11 @@
   "Custom `ansi-term' configuration."
   (interactive)
   (goto-address-mode t)
-  (local-set-key (kbd "C-h") 'evil-window-left)
-  (local-set-key (kbd "C-l") 'evil-window-right)
-  (local-set-key (kbd "C-k") 'evil-window-up)
-  (local-set-key (kbd "C-j") 'evil-window-down)
+  (define-key term-raw-map (kbd "C-c") 'term-interrupt-subjob)
+  (define-key term-raw-map (kbd "C-h") 'windmove-left)
+  (define-key term-raw-map (kbd "C-l") 'windmove-right)
+  (define-key term-raw-map (kbd "C-k") 'windmove-up)
+  (define-key term-raw-map (kbd "C-j") 'windmove-down)
   (wc/expose-global-binding-in-term (kbd "M-x"))
   (evil-define-key 'normal term-raw-map
     (kbd "i") 'wc/focus-term-at-bottom)