lagrange icon indicating copy to clipboard operation
lagrange copied to clipboard

Add Vim style key bindings

Open Brixy opened this issue 4 years ago • 4 comments

Hi and thanks for this cool browser.

As I use Qutebrowser or Firefox with Tridactyl I find it a bit hard to use Lagrange without Vim key bindings.

If this is of interest for you I would suggest these Vim style key bindings:

  • j: scroll down
  • k: scroll up
  • /: open search
  • n: search next
  • N: search previous
  • Enter: if search result is part of a link text, Enter opens link
  • ^d: half page down
  • ^u: half page up
  • ^f: full page down
  • ^b: full page up
  • J: next tab
  • K: previous tab
  • H: history back
  • L: history forward.

Thanks a lot.

Brixy avatar Oct 16 '21 18:10 Brixy

I think most of these are already achievable by changing the bindings in Preferences > Keys.

To clarify, did you intend this to be a predefined set of bindings that you can quickly apply?

skyjake avatar Oct 18 '21 12:10 skyjake

Oh—I am new to Lagrange and just underestimated its flexibility.

Setting Vim style keys just works fine—apart from a few exceptions like gg (for ‚go to top‘).

You can close this issue if you want, unless you are interested in ‚normal‘ + Vim style key bindings by default.

Thanks a lot.

Brixy avatar Oct 21 '21 07:10 Brixy

On a related note, if I set "d" to close a tab, it works, but then if I use the "f" to follow link, and the link key is "d", then the d closes the tab instead of following the link.

tobykurien avatar Jan 04 '22 10:01 tobykurien

@tobykurien That sounds like issue #419.

skyjake avatar Jan 04 '22 10:01 skyjake