Use :sp
to split the current window in two (:vs
for vertical split).
Add the following mapping commands to your .vimrc
for easier split navigation.
"easy split navigation
nnoremap <C-J> <C-W><C-J>
nnoremap
Use [count]
ctrl+e to scroll the window downwards [count]
lines. [count]
ctrl+y to scroll upwards.
Really usefull is ctrl+d to scroll the half page down and ctrl+u to scroll half the page up. As a side note: "half the page" is only the default. You can use set scroll=[count]
to define this behaviour.
Use J
in NERDTree to jump to the last node of the directory in the current tree depth (very usefull for the migrations directory).
I highly recommend checking out https://github.com/scrooloose/nerdtree/blob/master/doc/NERDTree.txt if you are using NERDTree.