On Thu, August 6, 2009 3:52 am, Kalebmcc wrote:
> Is there a way to make Vim use only one open file buffer per GUI tab?
[...]
>
> How can I make it so that :help would be opened in a new tab, leaving
> vimrc as the only open buffer in the original tab, so I have something
> like: TAB1: vimrc TAB2: help

Use :tab :help. You could possibly wrap this into a mapping or command
like for example:

:com -nargs=? -complete=help Help :tab :help <args>

> 1) How can I set it so that buffers like TagList open in vertical
> buffers instead of horizontal?

not sure. You can probably configure TagList to do this for you.

> 2) Is there a way to limit the amount of blank lines Vim puts at the
> end of files? Currently, when I scroll to the bottom of a file, Vim
> allows me to scroll all the way to having the last line at the top of
> the editing area.  I'd like if it just left five or so lines instead.

I don't think this is possible.

> 3) For some reason, when I open files, Vim starts at a random place.
> Sometimes it starts at the top, sometimes 60% through the file, etc.
> How do I make it start at the top every time?

Could be a plugin or your .vimrc to interfere. Are you sourcing
vimrc_example.vim file? I believe this file enables last-position-jump
(see :h last-position-jump). If not, you'll need to debug this by
starting a vim without loading your .vimrc or plugins. Start by
executing vim without reading any initialization file or plugin.

~$ vim -u NONE -N

If this works okay, try sourcing only plugins but skip your .vimrc file:

~$ vim -u NORC -N

And if this is ok, you might want to start commenting out parts of your
vimrc, as this seems to be the culprit.

regards,
Christian


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to