On 2013-11-03, Zhang Weiwu wrote:
> Hello. I often use keyboard shortcut 'z'+<right> to move the viewport
> to +1 position, that is, hide the first character of each line.
> However, whenever I move to an empty line, the viewport reset to +0
> position - a reasonable behaviour to make sure the cursor displayed.
> Is there a way to fix the vieweport to +1 always?
The workaround I use in addition to ":set nowrap" is ":set ve=all".
That prevents the cursor from moving to column 1 on empty lines and
pulling the viewport to the left with it.
It's not the permanent solution you're looking for, but perhaps it
will help.
Regards,
Gary
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Sunday, November 3, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment