mattboehm / vim-accordion

A vim window manager for people who love splits
101 stars 3 forks source link

Viewport should only change when "bumped" #14

Closed mattboehm closed 11 years ago

mattboehm commented 11 years ago

The viewport position should only be changed when you reach the edge and try to go l/r into a shrunken window. Things work fine until you have at least 3 vsplits.

To reproduce: have 5 vsplits, call AccordionStartTab 3, move to win 1, move right til in win 4 (2,3,4 unshrunken). Move left. It's expected that the viewport is still (2,3,4), but instead it's (3,4,5).