fmthoma / vgrep

A pager for grep
BSD 3-Clause "New" or "Revised" License
104 stars 8 forks source link

H/L keys for switching between focusing hit and file view #2

Closed quchen closed 8 years ago

quchen commented 8 years ago

Keybindings right now:

I think having h/l to focus left/right view would make a vim-intuitive addition to this.

Possible conflict: scrolling left and right in the content view would require the same keys.

fmthoma commented 8 years ago

Yep, I'd rather have them scroll left and right in the pager. I'm still considering a 'stacking' behavior like tig, where Enter opens a split view and q closes it again (without the stupid overloaded jk/ keybindings, of course).