Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vim-like scrolling relative to cursor (zz) #1267

Open
ovk opened this issue Feb 25, 2023 · 0 comments
Open

Vim-like scrolling relative to cursor (zz) #1267

ovk opened this issue Feb 25, 2023 · 0 comments

Comments

@ovk
Copy link

ovk commented Feb 25, 2023

In Vim there's a set of commands for scrolling contents of a window relative to cursor. Arguably, the most widely used one is zz, which scrolls the contents of the window such that the current line (line with the cursor) is centered in the window.

Is it possible to have similar behavior in Tig? I checked the manual for tigrc and contrib/vim.tigrc file but could figure out a way to do this.

On somewhat related note, it would also be nice to have H/M/L motions for quickly moving cursor around the window.

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

No branches or pull requests

1 participant