Friday, October 26, 2012

Re: Tmux-style window resizing in vim?

On 26 October 2012 11:58, Jonathan del Strother <maillist@steelskies.com> wrote:
> I'm a big fan of tmux's window management - it seems a lot more
> intuitive than vim's, which has never quite clicked with me and I'm
> not sure why.
>
> Tmux resizes as if you were pushing/pulling at the border of the
> current window in the direction that you're trying to resize, via the
> hjkl keys. So if I have two windows stacked on top of each other, and
> the top pane has focus, hitting <C-b>j pushes the split downwards,
> growing the top window & shrinking the bottom. If the bottom pane had
> focus, <C-b>j would pull the split downwards, resulting in the same
> effect.

... damn. I've just realized that I have a slightly custom tmux.conf
to achieve that, along the lines of
https://github.com/sjl/dotfiles/blob/master/tmux/tmux.conf#L50

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: