When I open vim help, I press 0 to goto beginning of line;
When I press j to scroll down, the cursor jumps to right 8 spaces when focusing tab
And the cursor jumps back when focusing non-tab
It's not very good for eyes.
Is there an option to let vim focus the beginning of tab
to let cursor stay at column 0?
Another option:
http://blog.killtheradio.net/how-tos/vim-cursor-at-beginning-of-tab-in-normal-mode/
set list lcs=tab:\ \
" Note the extra space after the second \
You can achieve this by setting
set virtualedit=all
This lets you position the cursor anywhere in the buffer, even beyond the end of the line and before a tab character. In help virtualedit
there is a warning that it might break some scripts or plugins, so use it carefully!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With