diff --git a/.vimrc b/.vimrc index a045d05..f0ecf4c 100644 --- a/.vimrc +++ b/.vimrc @@ -143,6 +143,12 @@ nnoremap gv :vertical wincmd f " Open shell with Ctrl+d to enable a toggle between a shell and vim nnoremap :botright terminal ++close inoremap :botright terminal ++close +" nvim uses a different terminal approach – more vim-like actually :-P +if has('nvim') + nnoremap :botright :split term://bashi + inoremap :botright :split term://bashi + tnoremap +endif " Handle nerdtree and other utility-windows nnoremap n :NERDTreeFocus