diff options
-rw-r--r-- | vimrc-full | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -306,8 +306,8 @@ set redrawtime=400 | " The time in milliseconds for redrawing the dis | |||
306 | set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge | 306 | set scrolljump=5 | " how many lines get scrolled into view when cursor reaches the screens edge |
307 | set splitbelow | " open new windows below the current one (i find that more intuitive) | 307 | set splitbelow | " open new windows below the current one (i find that more intuitive) |
308 | set shiftround | " indent/unindent snaps to multiple of shiftwidth | 308 | set shiftround | " indent/unindent snaps to multiple of shiftwidth |
309 | " set showcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) | 309 | set showcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) |
310 | set noshowcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) | 310 | " ret noshowcmd | " essential: show keys of combined commands in the lower right corner (BUT SLOW, makes cursor flickering) |
311 | set winwidth=30 | " keep NERDTreeWindow at least this size | 311 | set winwidth=30 | " keep NERDTreeWindow at least this size |
312 | set winminwidth=30 | " (and all other windows, so TODO: watch out) | 312 | set winminwidth=30 | " (and all other windows, so TODO: watch out) |
313 | set tags+=../tags | 313 | set tags+=../tags |
@@ -461,7 +461,9 @@ if has("autocmd") | |||
461 | augroup END | 461 | augroup END |
462 | 462 | ||
463 | if has('nvim') | 463 | if has('nvim') |
464 | autocmd BufEnter term://* set nobuflisted | 464 | autocmd TermOpen term://* set nobuflisted |
465 | " use default ESC key to leave insert mode in the internal terminal emulator | ||
466 | tnoremap <Esc> <C-\><C-n> | ||
465 | else | 467 | else |
466 | augroup vimonly | 468 | augroup vimonly |
467 | autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") | 469 | autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") |