On 2009-04-16, Thomas Ibbotson wrote:

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

As part of vim, no, but as your own command, sure.

command -nargs=1 Textwidth silent! let &textwidth=<args> | let 
&guidecolumn=<args>+1

Regards,
Gary



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

Raspunde prin e-mail lui