Skip to content

Comment on Vim Splits – Move Faster and More Naturally

Comments

I'm interested to increase "the speed" of resizing splits. It's annoying to press `<C-w> <` a few times just to move split a few pixels...

I use Alt-numpad keys. In my case it works quite fast:

    "  Decrease height / width
    nnoremap <A--> <C-W>-
    nnoremap <A-/> <C-W><
    " Increase height / width
    nnoremap <A-+> <C-W>+
    nnoremap <A-*> <C-W>>

As with most vim commands you can type a number first to repeat your command

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.