Skip to content

Add g/G/C-o keybinds#47

Open
funnyboy-roks wants to merge 3 commits intockampfe:masterfrom
funnyboy-roks:add-g-command
Open

Add g/G/C-o keybinds#47
funnyboy-roks wants to merge 3 commits intockampfe:masterfrom
funnyboy-roks:add-g-command

Conversation

@funnyboy-roks
Copy link
Copy Markdown

@funnyboy-roks funnyboy-roks commented Feb 5, 2026

Adds the following keybinds:

  • g to scroll to the top of a list/entry
  • G to scroll to the bottom of a list/entry
  • C-o after scrolling to return to the point that the reader was at before using g/G
    • I'm not 100% sure this is the best keybind for this operation. C-o is the default in VIM, but most other commands don't use Ctrl. Thoughts are welcome :)

@ckampfe
Copy link
Copy Markdown
Owner

ckampfe commented Mar 14, 2026

Hey, I'm open to adding g and G, but I'm less keen on keeping scroll state and returning to it. If you want to remove that part, I'll accept the patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants