Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if has('nvim')
- augroup vimrc_term
- autocmd!
- autocmd WinEnter term://* nohlsearch
- autocmd WinEnter term://* startinsert
- autocmd TermOpen * tnoremap <buffer> <C-h> <C-\><C-n><C-w>h
- autocmd TermOpen * tnoremap <buffer> <C-j> <C-\><C-n><C-w>j
- autocmd TermOpen * tnoremap <buffer> <C-k> <C-\><C-n><C-w>k
- autocmd TermOpen * tnoremap <buffer> <C-l> <C-\><C-n><C-w>l
- autocmd TermOpen * tnoremap <buffer> <Esc> <C-\><C-n>
- augroup END
- endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement