Tuesday, September 2, 2014

Re: starting position of cursor

On Tue, Sep 02, 2014 at 05:26:52AM -0500, Tim Chase wrote:
> > when I start vim on an existing text module I kind of expect it to
> > have the cursor in the 1st column of the first line, but some
> > setting is causing it to start with the cursor on the first
> > non-blank column of the first line

> Strange. Normally I'd expect that setting 'sol'/'nosol' would impact
> this behavior. However, based on my testing, it doesn't seem to.

> > any help getting it to start with the cursor in column 1 line 1
> > will be appreciated

> Well, a workaround that feels a little dirty to me:

> augroup StartOfLine
> autocmd StartOfLine BufRead * normal 0
> augroup END

> It seems to do what you want.

yes, that does it, but should that be necessary? Is this a ...
dare I say it ... bug?

--
_|_ _ __|_|_ ._ o|
|_(_)(_)|_| ||_)||<
|

--
--
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/d/optout.

No comments:

Post a Comment