Wednesday, October 8, 2014

Re: "vim +n" trigger

On Wednesday, 08 October, 2014 at 13:07:12 BST, Jürgen Krämer wrote:
>>> What about "set scrolloff=999" ? That keeps the cursor at M permanently,
>>> and can be used as a '-c "set scrolloff=999"' commandline option, because
>>> it is an ex commend, I figure. A look at ":h -c" suggests that it should
>>> take effect at a suitable time. (Not tried)
>>
>> or, for a one-off, pass in a -c 'normal zz' after your +n
>
>or combine those two arguments into one:

Thanks, guys, but I'm really looking for something automatic I can put into .vimrc (again, only when +n is used), so I don't have to type extra stuff on the command line.

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