Commits

Peter Szilagyi  committed 4143d34

Jane.evil: Extra ESC keybindings are not part of consenus configuration.

  • Participants
  • Parent commits 527ac22

Comments (0)

Files changed (1)

File elisp/jane/jane-micro-features.el

   ;; ../../jane-common.el takes care of load-path for Evil and evil-surround.
   (require 'evil)
   (evil-mode 1)
-
-  ;; nlinger:
-  ;;
-  ;; I stole the following from dlobraico and it makes ESC feel more like
-  ;; it does in vim.
-  ;;
-  ;; give ESC more power
-  (define-key evil-normal-state-map           [escape] 'keyboard-quit)
-  (define-key evil-visual-state-map           [escape] 'keyboard-quit)
-  (define-key minibuffer-local-map            [escape] 'abort-recursive-edit)
-  (define-key minibuffer-local-ns-map         [escape] 'abort-recursive-edit)
-  (define-key minibuffer-local-completion-map [escape] 'abort-recursive-edit)
-  (define-key minibuffer-local-must-match-map [escape] 'abort-recursive-edit)
-  (define-key minibuffer-local-isearch-map    [escape] 'abort-recursive-edit)
-  ;;
-  ;; Also, I just added this today b/c I keep getting stuck in emacs modes
-  ;; in special read-only buffers
-  ;;
-  ;; escape easily from buffers that start up in emacs mode
-  ;;(global-set-key [f8] 'evil-normal-state)
-  ;;
-  ;; I would expect that something like one or both of these may be useful to put
-  ;; in Jane.evil-mode, but I'm slightly reluctant to steal F8.
-
   (require 'surround)
   (global-surround-mode 1))