Willkommen, bienvenue, welcome, welkomEdit
Welcome to the Vim Tips wiki! We hope you can help improve the articles by fixing typos, adding comments (at the bottom of each tip page), rewriting tips, joining in discussions, or making other improvements.
Be sure to visit the community portal for information about our site, with links to how to pages.
Keep an eye on recent changes to check progress.
256 colors in vim Edit
Thanks for your addition to 256 colors in vim from two and a half years ago! I've been using something based on this for a while now, although I've notice a slight problem and a small improvement that could be made.
The slight problem is that the XTERM_VERSION variable doesn't seem to specify the number of colours, but specifies the actual version of XTerm, as you might perhaps expect! It seems that back when xterm was packaged as part of XFree86, the XFree86 release number was in there too. I've solved this just by deleting the entire 'else' block. Is there a better way of handling this that you can think of?
The small improvement would be to list mate-terminal along with gnome-terminal, although there's so far no release of the terminfo database (from ncurses) with definitions for mate.
Since it's posted under your name, I thought it would be a bit rude to dive in and change it without asking. Would it be okay for me to do this, provided I leave a comment at the end explaining what my changes are?
- It's likely that Steven will not notice your message here. Please do something to 256 colors in vim with any improvement you have! Ideally, you would integrate the comment into the tip, and make your change to the text in the tip, and delete all redundant comments. That is, once Steven's comment is adequately covered in the tip, Steven's comment should be deleted as we want to leave tips as clean as we can, without readers needing to spend an hour working out what is obsolete. Sometimes it is hard to know if everything from a comment has been covered reasonably well. It's probably best to not worry about that, and just do what you think is best, while trying to leave a fairly clean tip. Possibly this issue should be raised on the Vim mailing list (click "Community portal" in the sidebar, and look for "email@example.com – vim_use"). I'll see any change you make to the tip and can help with formatting issues. JohnBeckett (talk) 11:11, February 8, 2013 (UTC)