Friday, March 30, 2012

Re: :help WITHOUT split screen

On Fri, Mar 30, 2012 at 15:09, Phil Dobbin <phildobbin@gmail.com> wrote:
> On 30/03/2012 13:39, Guido Van Hoecke wrote:
>> On Fri, Mar 30, 2012 at 13:51, Tarlika Elisabeth Schmitz
>> <vim@numerixtechnology.de> wrote:
>>> This is one of my biggest bug bears and it drives me absolutely nuts:
>>>
>>> Is there a way to prevent :help from splitting the window?!
>>> I never, ever want a horizontal split. I'd just like to see the help
>>> text in a new tab.
>> Same here
>>> I mostly use gvim, sometimes vim. So I need a solution that works in
>>> both cases.
>> I have this command abbreviation:
>>
>> " h open help in new tab
>> cabbrev h tab help
>>
>> So whenever I ask help with ':h' it just opens a new tab with it.
>
> Maybe it's just me but if I type:
>
> `:tab help topic` that works but the above abbreviation doesn't do anything.

`:h topic` should work equally well.

>
> Vim 7.2.445 huge with GTK2 GUI & the same console version on Debian
> Squeeze + Vim 7.3.462 huge no GUI & MacVim 7.3.353 huge with MacVim GUI
> on OS X.

Strange, I have this cabbrev in my .vimrc longer than I can remember.
Currently I use
:version
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jan 2 2012 17:38:47)
MacOS X (unix) version
Included patches: 1-390
Compiled by Bjorn Winckler <bjorn.winckler@gmail.com>
Huge version with MacVim GUI.

So sorry I can't give any further assistance.
It's basic vim, can't think of any reason why it would not work.

With kind regards,


Guido

--
All I ask of life is a constant and exaggerated sense of my own
importance.

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

No comments: