editor.statusline position to show atleast 2 digits #5776
Unanswered
goyalyashpal
asked this question in
Ideas
Replies: 1 comment
-
Same, would be great to be able to spec padding and 0-leader styling for various items. For ex. I set up my vim status line this way to have pretty much no status line stutter when moving through large files: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
position
in[editor.statusline]
to always show atleast two digits?helix docs: cursor position
file: position
wezterm-gui_VuQ14NLmGi.mp4
Additional details and thoughts
Pedantic detailing, ignore if above description suffices
In C language for print formatting:
"%d:%d", line, column
"%d:%2d"
(use space) or"%d:%02d"
(use zero):
hence solving jitter, for most of the timeCurrently it behaves as: (notice the colons don't align - thus jitter)
Suggestion is to be:
or
Beta Was this translation helpful? Give feedback.
All reactions