-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

_Lone wrote:
> 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 be a better
> way to do this.
> 
> The patch still needs to be tested thorougly and tweaked but I wanted
> to get a general idea, if you guys think it has chances of getting
> accepted.
> 
> Thanks
> _Lone
> 
> 
> On Apr 14, 2:32 am, _Lone <[email protected]> wrote:
>> 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 projects (I think including VIM).
>>
>> The thread below is where I initially mentioned this and asked if it would
>> be a good idea.
>>
>> http://groups.google.com/group/vim_use/browse_thread/thread/3ee72b0e7...
>>
>> Please let me know if there are any issues with the patch. I have tested it
>> and it seems to work fine (with cursorcolumn as well). But as this is my
>> first patch, please let me know if I missed something.
>>
>> The attached guidecolumn.patch.txt contains the patch in the format
>> specified at the VIM WIKI and guidecolumn.patch is created using CVS patch
>> feature in TortoiseCVS.
>>
>> Thanks
>> _Lone
>>
>>  guidecolumn.patch.txt
>> 13KViewDownload
>>
>>  guidecolumn.patch
>> 11KViewDownload

This would be very good used in conjuction with the 'textwidth' option.
When I first used vim to write git commit messages I was taken by
surprise by the automatic line wrapping as I hadn't come across it
before. A line showing where this was going to happen would make it
clearer what was going on. Would it make sense to be able to set both
the textwidth and the guidecolumn together with one command?

Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknnlhEACgkQFRlp6kAWdptdqwCfeU3NAUk0u9RUc8uIXbKfLgGy
72EAoIQCM5e0vYYSdRYcR2qMq0kcw3hF
=e7eo
-----END PGP SIGNATURE-----

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

Raspunde prin e-mail lui