Peter Szilagyi avatar Peter Szilagyi committed 4143d34

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

Comments (0)

Files changed (1)


   ;; ../../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))
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.