about summary refs log tree commit diff
path: root/emacs/wc-helper-functions.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/wc-helper-functions.el')
-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)