diff --git a/.vimrc b/.vimrc index c5bcdfe..c8725b7 100644 --- a/.vimrc +++ b/.vimrc @@ -35,7 +35,8 @@ inoremap > strpart(getline('.'), col('.')-1, 1) == ">" ? "\" : ">" "inoremap ' '' " Tab navigation -nmap :tabnew +" new tab and move to previous window (NERDTree if open) +nmap :tabnew :wincmd p nmap :tabprev nmap :tabnext