From d566d713e4f9893313ad9a6bb8a654831b6b708c Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Fri, 21 Aug 2015 03:03:42 -0700 Subject: [PATCH] Fixes to make working in ansi-term easier. --- spacemacs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacemacs b/spacemacs index d432e6c..12fc359 100644 --- a/spacemacs +++ b/spacemacs @@ -94,7 +94,7 @@ before layers configuration." ;; The leader key dotspacemacs-leader-key "SPC" ;; The leader key accessible in `emacs state' and `insert state' - dotspacemacs-emacs-leader-key "M-m" + dotspacemacs-emacs-leader-key "C-x m" ;; Major mode leader key is a shortcut key which is the equivalent of ;; pressing ` m`. Set it to `nil` to disable it. dotspacemacs-major-mode-leader-key "," @@ -176,6 +176,7 @@ layers configuration." (modify-syntax-entry ?_ "w" table) (with-syntax-table table ad-do-it))) + (evil-set-initial-state 'term-mode 'emacs) ) ;; Do not write anything past this comment. This is where Emacs will