[vim] split vertically for :help

This is a discussion on [vim] split vertically for :help within the Editors forums in Theory and Concepts category; Hi, everything is in the subject: is it possible to make the :h command split windows vertically? Thanks, Manuel....

Go Back   Application Development Forum > Theory and Concepts > Editors

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-14-2008, 04:55 PM
mpg
Guest
 
Default [vim] split vertically for :help

Hi,

everything is in the subject: is it possible to make the :h command split
windows vertically?

Thanks,
Manuel.

Reply With Quote
  #2  
Old 08-14-2008, 05:52 PM
Tony Mechelynck
Guest
 
Default Re: [vim] split vertically for :help

On 14/08/08 22:55, mpg wrote:
> Hi,
>
> everything is in the subject: is it possible to make the :h command split
> windows vertically?
>
> Thanks,
> Manuel.
>


" open help window vertically unless :help typed in full
if version < 700
cabbrev h vert h
else
cabbrev <expr> h
\ ((getcmdtype() == ':' && getcmdpos() <= 2)? 'vert h' : 'h')
endif
Reply With Quote
  #3  
Old 08-14-2008, 05:58 PM
mpg
Guest
 
Default Re: [vim] split vertically for :help

Le (on) jeudi 14 août 2008 23:52, Tony Mechelynck a écrit (wrote) :

> On 14/08/08 22:55, mpg wrote:
>> everything is in the subject: is it possible to make the :h command split
>> windows vertically?
>>

> " open help window vertically unless :help typed in full
> if version < 700
> cabbrev h vert h
> else
> cabbrev <expr> h
> \ ((getcmdtype() == ':' && getcmdpos() <= 2)? 'vert h' : 'h')
> endif


Perfect! Thanks a lot.

Manuel.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 06:07 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.