Sunday, November 3, 2013

Re: jump to true beginning of line

On Sa, 02 Nov 2013, Tim Chase wrote:
> Despite its description in the help, 'nostartofline' doesn't seem to
> respect being in the first column if your jump lands you on a line
> with leading whitespace. I tested this with 'nosol' set ad line 19
> containing leading indentation before characters. Going to the first
> column of a previous line and issuing "19G" landed me on the first
> character on line 19 after the indent, not the first column as I
> would have expected.

I might be misunderstanding the problem, but I think, I don't see this:

vim -u NONE -N -c 'call setline(".", ["1234567890", " abcd"])|set nosol ruler|norm! 02gg'

Note, how you land on the first column in the second line.

regards,
Christian
--
Quiz für Prominente: Nach einem Interview die Sätze suchen, die man
tatsächlich gesagt hat.
-- Oliver Hassencamp

--
--
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.

No comments: