News for hackers. Stuff that matters.
Re:Vim Splits – Move Faster and More Naturally by jonzjia on Thursday April 18, 2013 @11:47AM (#5571262)
I forgot where I found it, but someone uses | and _ to split windows in vim, which I find more intuitive and easier to use:

    " Split window vertically
    nnoremap <Bar> <C-W>v<C-W><Right>
    " Split window horizontally 
    nnoremap _ <C-W>s<C-W><Down>
    " Use tab to toggle between windows
    nnoremap <Tab> <C-W>w

There are no comments on this comment yet.