Easy escape in terminal mode
1f607f8079e228a1ea2d3a8fdf6cc10b4e247f0a
1 parent
c04e16b5
.vimrc
+4 -0
| 153 | 153 | map <C-_> <Plug>NERDCommenterToggle |
|
| 154 | 154 | map <Leader>. @: |
|
| 155 | 155 | map <Leader>e :e ~/.vimrc<CR> |
|
| 156 | 156 | map <Leader>s :source ~/.vimrc<CR> |
|
| 157 | 157 | ||
| 158 | + | if has("nvim") |
|
| 159 | + | tnoremap <Esc> <C-\><C-n> |
|
| 160 | + | endif |
|
| 161 | + | ||
| 158 | 162 | command! FuzzyOpen call s:fuzzy() |
|
| 159 | 163 | function! s:fuzzy() |
|
| 160 | 164 | let lines = 12 |
|
| 161 | 165 | let tmp = tempname() |
|
| 162 | 166 | let command = "ag -g '' | fzy -l " . lines . " > " . tmp |