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

Hybrid line number mode #369

Open
andyau-crunchyroll opened this issue Apr 7, 2021 · 0 comments
Open

Hybrid line number mode #369

andyau-crunchyroll opened this issue Apr 7, 2021 · 0 comments

Comments

@andyau-crunchyroll
Copy link

andyau-crunchyroll commented Apr 7, 2021

Now that relative line number has been partially implemented (PR# 343), hybrid line number mode would make a nice addition.

Hybrid line number is a combination of relative and absolute line numbers, where all line numbers in the editor are relative to the current line, except for the currently selected line. Instead, the currently selected line will display it's absolute line number.

Expected Behavior:
Setting number and relativenumber in the user's .xvimrc config will enable hybrid line number behavior.

Screen Shot 2021-04-07 at 11 39 58 AM
Working example in VS Code + Vim plugin

Actual Behavior:
Xcode is showing line numbers as relative only (as if only relativenumber is enabled).

Screen Shot 2021-04-07 at 11 38 53 AM
Current behavior in Xcode + XVim2

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

No branches or pull requests

2 participants