[Patch] Add support for guidecolumn in VIM

2009-04-14 Fir de Conversatie Pankaj Garg
Hi Everyone, This is my first patch for VIM so pardon me if I did not follow any instructions properly. This patch would allow you to create a vertical highlighted line at a specified column such as column 80. Very useful if you don't want your code to exceed 80 columns as followed by many

[Patch] Add support for guidecolumn in VIM

2009-04-14 Fir de Conversatie _Lone
Hi Everyone, This is my first patch for VIM so pardon me if I did not follow any instructions properly. This patch would allow you to create a vertical highlighted line at a specified column such as column 80. Very useful if you don't want your code to exceed 80 columns as followed by many

Re: [patch] Text object for entire buffer

2009-04-14 Fir de Conversatie Erik Falor
On Mon, Apr 13, 2009 at 12:04:07PM +0200, Ingo Karkat wrote: On 13-Apr-09 9:18, Andy Spencer wrote: This adds a text object ('aa' or 'ii') for the entire buffer. I don't know if this is worthy of being included by default, but I find it convenient for things such as gqaa and =aa.

Re: [patch] Foldmethod for the quickfix window

2009-04-14 Fir de Conversatie Bram Moolenaar
lech Lorens wrote: The attached patch changes the default 'foldmethod' for the quickfix window to manual. The current behaviour is that the quickfix window inherits the values of 'foldmethod' and 'foldmarker' from the global options, which sometimes causes the contents of the quickfix

Bug? 'cmdwinheight' not obeyed except from bottom window

2009-04-14 Fir de Conversatie Tony Mechelynck
I have quite a number of windows (22 of them, but the symptom ought to be reproducible with fewer), all horizontally split (i.e. one above the other) and I have the following possibly relevant settings: winheight=9 winminheight=0 cmdheight=2 cmdwinheight=7 The latter is the default but

Re: Add support for guidecolumn in VIM

2009-04-14 Fir de Conversatie Dennis Benzinger
Hi! Am 14.04.2009 23:18, _Lone schrieb: To set 'guidecolumn' you can do :set guidecolumn=N where N is the column. If N is 0 then guidecolumn is turned off. It is highly unlikely that a user would want the guidecolumn at column 0 but the syntax seems odd so let me know if you think there can

Re: [patch] Text object for entire buffer

2009-04-14 Fir de Conversatie Andy Spencer
Nice idea, certainly useful! I'm not sure whether this should be implemented in the C code, though, as it could also be done with Vimscript. It may as well be in the C code alongside all of the other text objects. Notice the cases just below his patch which are waiting to be

Re: Add support for guidecolumn in VIM

2009-04-14 Fir de Conversatie Matt Wozniski
On Wed, Apr 15, 2009 at 1:18 AM, Dennis Benzinger dennis.benzin...@gmx.net wrote: Hi! Am 14.04.2009 23:18, _Lone schrieb: To set 'guidecolumn' you can do :set guidecolumn=N where N is the column. If N is 0 then guidecolumn is turned off. It is highly unlikely that a user would want the

Re: [patch] Text object for entire buffer

2009-04-14 Fir de Conversatie Tony Mechelynck
On 15/04/09 07:22, Andy Spencer wrote: Nice idea, certainly useful! I'm not sure whether this should be implemented in the C code, though, as it could also be done with Vimscript. It may as well be in the C code alongside all of the other text objects. Notice the cases just below his patch