helix-editor / helix

A post-modern modal text editor.
https://helix-editor.com
Mozilla Public License 2.0
33.68k stars 2.5k forks source link

Page up/down and half up/down consistency #1614

Open EpocSquadron opened 2 years ago

EpocSquadron commented 2 years ago

If it intent is to be consistent with the keybindings for screen movement from vim, we should ensure they are in place and act consistently throughout:

sudormrfbin commented 2 years ago
  • Add ctrl-f and ctrl-d as equivalents of page down and page up in normal mode

We already have ctrl-f, ctrl-b, ctrl-d and ctrl-u in normal mode:

https://github.com/helix-editor/helix/blob/392dfa0841fb106300eedf26f8628e48a32d0ea4/helix-term/src/keymap.rs#L628-L631

EpocSquadron commented 2 years ago

Somehow missed that.

EpocSquadron commented 2 years ago

1612 will fix the third task, and leave the half-height equivalents for another PR.

EpocSquadron commented 2 years ago

Updated for accuracy. We just have a few places to implement the half-page movements and then this is all set.

Rudxain commented 6 months ago

Is there a chance that some future release will have a j/k equivalent for doc popups? I like the half-page movement, but sometimes it's convenient to have fine-grained per-line movement