diff options
author | William Carroll <wpcarro@gmail.com> | 2017-06-20T11·48-0400 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2017-06-20T11·48-0400 |
commit | 8fbafc3a5cf6a16aff65ee87af243ec598b4c08f (patch) | |
tree | 15b2f0ed6db4925f46e54f574e24459538275c72 /emacs | |
parent | 5e5c4b0c38c8d9f6061d05fa12b7978a6548966d (diff) |
Conditionally enables Evil; adds Dired+; conditionally applies linum
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/wc-helper-functions.el | 9 |
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) |