Vim Tips Wiki
(Record three decisions made)
(Change <tt> to <code>, perhaps also minor tweak.)
 
(29 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
<big>'''New tips February 2008'''</big>
 
<big>'''New tips February 2008'''</big>
   
  +
'''This page is an archive listing tips created in February 2008. Please do not edit this page because discussion has finished. If you have any comments, edit the appropriate tip page.'''
For each proposed new tip:
 
*Is it worth keeping as a separate tip?
 
*Should it be merged into an existing tip? Which?
 
*If it should be kept, is it ready for release? Which points need fixing? Should it be renamed?
 
   
Please edit this page (not the talk page) in the appropriate section below the following table.<br />
 
 
Alternatively, comments can be posted on the [http://lists.wikia.com/mailman/listinfo/vim-l mailing list].
 
Alternatively, comments can be posted on the [http://lists.wikia.com/mailman/listinfo/vim-l mailing list].
   
Line 31: Line 27:
   
   
'''Suggestion: Leave consideration of the following until [[User:Metacosm|Metacosm]] returns.'''<br />--[[User:JohnBeckett|JohnBeckett]] 06:11, 4 May 2008 (UTC)
 
 
{| border="1" cellpadding="2"
 
{| border="1" cellpadding="2"
 
|+ ''Tips from [[User:Metacosm|Metacosm]]''
 
|+ ''Tips from [[User:Metacosm|Metacosm]]''
Line 40: Line 35:
 
|-
 
|-
 
| [[Best Plugins]]
 
| [[Best Plugins]]
|align="center"| [[#Best Plugins|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[Best Tips]]
 
| [[Best Tips]]
 
|align="center"| [[#Best Tips|''discuss'']]
 
|align="center"| [[#Best Tips|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Change GUI Font]]
 
| [[Change GUI Font]]
 
|align="center"| [[#Change GUI Font|''discuss'']]
 
|align="center"| [[#Change GUI Font|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| Date Time Insert
 
| Date Time Insert
Line 56: Line 51:
 
|-
 
|-
 
| [[Enhanced Commentify Plugin]]
 
| [[Enhanced Commentify Plugin]]
|align="center"| [[#Enhanced Commentify Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[File Format]]
 
| [[File Format]]
 
|align="center"| [[#File Format|''discuss'']]
 
|align="center"| [[#File Format|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Fix Backspace]]
 
| [[Fix Backspace]]
 
|align="center"| [[#Fix Backspace|''discuss'']]
 
|align="center"| [[#Fix Backspace|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip68]]
 
|-
 
|-
 
| [[Fix Syntax Highlighting]]
 
| [[Fix Syntax Highlighting]]
 
|align="center"| [[#Fix Syntax Highlighting|''discuss'']]
 
|align="center"| [[#Fix Syntax Highlighting|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip269]]
 
|-
 
|-
 
| [[Large File Plugin]]
 
| [[Large File Plugin]]
|align="center"| [[#Large File Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[Make a Macro]]
 
| [[Make a Macro]]
 
|align="center"| [[#Make a Macro|''discuss'']]
 
|align="center"| [[#Make a Macro|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip398]]
 
|-
 
|-
 
| [[Match It Plugin]]
 
| [[Match It Plugin]]
 
|align="center"| [[#Match It Plugin|''discuss'']]
 
|align="center"| [[#Match It Plugin|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip6]]
 
|-
 
|-
 
| [[NERD Tree Plugin]]
 
| [[NERD Tree Plugin]]
|align="center"| [[#NERD Tree Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[New When Hardlinked]]
 
| [[New When Hardlinked]]
 
|align="center"| [[#New When Hardlinked|''discuss'']]
 
|align="center"| [[#New When Hardlinked|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[New to Vim]]
 
| [[New to Vim]]
 
|align="center"| [[#New to Vim|''discuss'']]
 
|align="center"| [[#New to Vim|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Omni Completion]]
 
| [[Omni Completion]]
 
|align="center"| [[#Omni Completion|''discuss'']]
 
|align="center"| [[#Omni Completion|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Paste Indent Problems]]
 
| [[Paste Indent Problems]]
 
|align="center"| [[#Paste Indent Problems|''discuss'']]
 
|align="center"| [[#Paste Indent Problems|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip906]]
 
|-
 
|-
 
| [[Read Write System Enviroment Variables]]
 
| [[Read Write System Enviroment Variables]]
 
|align="center"| [[#Read Write System Enviroment Variables|''discuss'']]
 
|align="center"| [[#Read Write System Enviroment Variables|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Reselect Visual Block]]
 
| [[Reselect Visual Block]]
 
|align="center"| [[#Reselect Visual Block|''discuss'']]
 
|align="center"| [[#Reselect Visual Block|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Super Retab]]
 
| [[Super Retab]]
 
|align="center"| [[#Super Retab|''discuss'']]
 
|align="center"| [[#Super Retab|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Super Tab Plugin]]
 
| [[Super Tab Plugin]]
|align="center"| [[#Super Tab Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[Surround Plugin]]
 
| [[Surround Plugin]]
|align="center"| [[#Surround Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[Surrounding Parens]]
 
| [[Surrounding Parens]]
|align="center"| [[#Surrounding Parens|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[Switch Lines]]
 
| [[Switch Lines]]
 
|align="center"| [[#Switch Lines|''discuss'']]
 
|align="center"| [[#Switch Lines|''discuss'']]
|align="center"| Merged to [[VimTip47]] (title kept as redirect)
+
|align="center"| Merged to [[VimTip47]]
 
|-
 
|-
 
| [[Tag List Plugin]]
 
| [[Tag List Plugin]]
|align="center"| [[#Tag List Plugin|''discuss'']]
+
|align="center"| [[#Best plugins|''discuss'']]
|align="center"| -
+
|align="center"| Merged (note 1)
 
|-
 
|-
 
| [[To Html]]
 
| [[To Html]]
 
|align="center"| [[#To Html|''discuss'']]
 
|align="center"| [[#To Html|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip198]]
 
|-
 
|-
| [[Tutorial Commands]]
+
| [[Tutorial]]
|align="center"| [[#Tutorial Commands|''discuss'']]
+
|align="center"| [[#Tutorial|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Vim Diff]]
 
| [[Vim Diff]]
 
|align="center"| [[#Vim Diff|''discuss'']]
 
|align="center"| [[#Vim Diff|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip416]]
 
|-
 
|-
 
| [[Vim Gpg]]
 
| [[Vim Gpg]]
 
|align="center"| [[#Vim Gpg|''discuss'']]
 
|align="center"| [[#Vim Gpg|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Vim IRC FAQ]]
 
| [[Vim IRC FAQ]]
 
|align="center"| [[#Vim IRC FAQ|''discuss'']]
 
|align="center"| [[#Vim IRC FAQ|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Vim Tutor]]
 
| [[Vim Tutor]]
 
|align="center"| [[#Vim Tutor|''discuss'']]
 
|align="center"| [[#Vim Tutor|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[Tutorial]]
 
|-
 
|-
 
| [[Vim on Freenode]]
 
| [[Vim on Freenode]]
 
|align="center"| [[#Vim on Freenode|''discuss'']]
 
|align="center"| [[#Vim on Freenode|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Vis Vim]]
 
| [[Vis Vim]]
 
|align="center"| [[#Vis Vim|''discuss'']]
 
|align="center"| [[#Vis Vim|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip683]]
 
|-
 
|-
 
| [[Vis Vim Disinterest]]
 
| [[Vis Vim Disinterest]]
 
|align="center"| [[#Vis Vim Disinterest|''discuss'']]
 
|align="center"| [[#Vis Vim Disinterest|''discuss'']]
|align="center"| -
+
|align="center"| Merged to [[VimTip683]]
 
|-
 
|-
 
| [[Where Are My Settings]]
 
| [[Where Are My Settings]]
 
|align="center"| [[#Where Are My Settings|''discuss'']]
 
|align="center"| [[#Where Are My Settings|''discuss'']]
|align="center"| -
+
|align="center"| Keep
 
|-
 
|-
 
| [[Where to download Vim]]
 
| [[Where to download Vim]]
Line 180: Line 175:
 
|}
 
|}
   
  +
''Note 1'' All content from the "plugin" tips has been copied to a new "Best plugins" section on the [[Vim scripts#Best plugins|Vim scripts]] page.
'''Please add your comment (sign with <tt><nowiki> --~~~~</nowiki></tt>) below the appropriate heading. Use&nbsp;<tt><nowiki>----</nowiki></tt>&nbsp;between&nbsp;comments.'''
 
  +
 
'''Please add your comment (sign with <code><nowiki> --~~~~</nowiki></code>) below the appropriate heading. Use&nbsp;<code><nowiki>----</nowiki></code>&nbsp;between&nbsp;comments.'''
   
 
==General comments (not for a specific tip)==
 
==General comments (not for a specific tip)==
  +
  +
<div style="background:#FFEEDD; margin-top:0.5em; padding:0 10px 0 10px; border:1px solid #888888;">
  +
<big>'''''Archive: please don't change text in this box.'''''</big><br />
  +
'''''These tips have been handled (kept or merged).'''''
   
 
==[[Automatically add Python paths to Vim path]]==
 
==[[Automatically add Python paths to Vim path]]==
  +
'''Keep'''
'''We have finished discussing this tip &ndash; it has been kept.'''
 
 
:Good tip. I have tried it, and have edited the tip to add details. --[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
----
 
Keep. Good tip. I have tried it, and have edited the tip to add details. --[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
+
::Keep. It's not perfect, (some modules like os.path don't work) but still useful enough to keep. [[User:Carpetsmoker|Carpetsmoker]] 07:45, 14 April 2008 (UTC)
----
 
Keep. It's not perfect, (some modules like os.path don't work) but still useful enough to keep. [[User:Carpetsmoker|Carpetsmoker]] 07:45, 14 April 2008 (UTC)
 
 
==Substitute Word Under Cursor==
 
'''We have finished discussing this tip &ndash; it has been merged, and will be deleted.'''
 
----
 
Merge this tip into one of the following (probably 464 where the author added a "see also" to the new tip, with an acknowledgement in the edit summary that it might have been better to put the info in 464).
 
*[[VimTip159|159 Keystroke Saving Substituting and Searching]]
 
*[[VimTip464|464 Search and replace the word under the cursor]]
 
*[[VimTip1501|1501 Substitute last search]]
 
Should put a "see also" in 464 with the above list.
 
--[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
 
----
 
'''Merge''' [[VimTip464|464 Search and replace the word under the cursor]] is basically the same. [[User:Carpetsmoker|-- Carpetsmoker]] 09:15, 14 April 2008 (UTC)
 
----
 
I have merged this to 464 and cleaned up 464. --[[User:JohnBeckett|JohnBeckett]] 06:11, 4 May 2008 (UTC)
 
 
==VirtualStore==
 
'''We have finished discussing this tip &ndash; it has been merged, and will be deleted.'''
 
----
 
The two mysterious tips we have on Vista are a worry. I hate the idea of deleting an entire directory tree (<tt>rmdir /q /s</tt>) with no explanation. I'm pretty sure it would be better to work out exactly what the problem is and avoid it. However, perhaps we should keep this tip, with the plaintive comment I've put in it, in the hope that people who understand Vista will one day fix these tips. --[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
 
----
 
I now think the content of this tip should be moved to [[VimTip1542|1542 Vim on Vista]]. The author of VirtualStore made only the one contribution, and there has been no feedback to the comments that I added on the tip page. Merging the two rather dodgy Vista tips for later consideration seems safest. --[[User:JohnBeckett|JohnBeckett]] 06:11, 4 May 2008 (UTC)
 
----
 
I have merged this to 1542. --[[User:JohnBeckett|JohnBeckett]] 04:49, 7 May 2008 (UTC)
 
 
==[[Best Plugins]]==
 
   
 
==[[Best Tips]]==
 
==[[Best Tips]]==
  +
'''Keep''' We need some simple tips. --[[User:JohnBeckett|JohnBeckett]] 09:05, 10 February 2009 (UTC)
  +
:This is tutorial material. It contains little of value. ([[User:Spiiph|Spiiph]] 17:46, 26 December 2008 (UTC))
   
 
==[[Change GUI Font]]==
 
==[[Change GUI Font]]==
  +
'''Keep''' We need some simple tips. --[[User:JohnBeckett|JohnBeckett]] 09:05, 10 February 2009 (UTC)
  +
 
==[[Fix Backspace]]==
  +
'''Merged to [[VimTip68]]'''
  +
  +
==[[Fix Syntax Highlighting]]==
  +
'''Merged to [[VimTip269]]'''
   
 
==Date Time Insert==
 
==Date Time Insert==
  +
'''Merged to [[VimTip97]]'''
'''We have finished discussing this tip &ndash; it has been merged.'''
 
 
:It is already present as [[VimTip97]] --[[User:Luc Hermitte|Luc Hermitte]] 02:32, 19 April 2008 (UTC)
 
:It is already present as [[VimTip97]] --[[User:Luc Hermitte|Luc Hermitte]] 02:32, 19 April 2008 (UTC)
 
::I agree and added it as a candidate for deletion [changed to merge] and changed the 1 link that was to it other than here. --[[User:Ian Kelling|Ian Kelling]] August 2008
 
::I agree and added it as a candidate for deletion [changed to merge] and changed the 1 link that was to it other than here. --[[User:Ian Kelling|Ian Kelling]] August 2008
   
  +
==Make a Macro==
==[[Enhanced Commentify Plugin]]==
 
  +
'''Merged to [[VimTip398]]'''
  +
:You can get more information from <code>:h 10.1</code>. There must be better macro tip pages. ([[User:Spiiph|Spiiph]] 17:52, 26 December 2008 (UTC))
   
==[[File Format]]==
+
==[[Match It Plugin]]==
  +
'''Merged to [[VimTip6]]'''
  +
:Duplicates [[Moving to matching braces]] -- [[User:Carpetsmoker]] 12:26, 16 April 2008 (UTC)
   
==[[Fix Backspace]]==
+
==[[New When Hardlinked]]==
  +
'''Keep''' Have rewritten. --[[User:JohnBeckett|JohnBeckett]] 08:42, 6 February 2009 (UTC)
   
==[[Fix Syntax Highlighting]]==
+
==[[Omni Completion]]==
  +
'''Keep''' Have reworded and added list of links (need to merge some tips in the list). --[[User:JohnBeckett|JohnBeckett]] 07:43, 3 March 2009 (UTC)
   
==[[Large File Plugin]]==
+
==[[Paste Indent Problems]]==
  +
'''Merged to [[VimTip906]]''' --[[User:JohnBeckett|JohnBeckett]] 03:05, 9 February 2009 (UTC)
   
==[[Make a Macro]]==
+
==[[Read Write System Enviroment Variables]]==
  +
'''Keep''' Have rewritten. --[[User:JohnBeckett|JohnBeckett]] 08:42, 6 February 2009 (UTC)
   
==[[Match It Plugin]]==
+
==[[Reselect Visual Block]]==
'''Duplicate''' [[Moving to matching braces]] -- [[User:Carpetsmoker]] 12:26, 16 April 2008 (UTC)
+
'''Keep''' Have moved to [[Visual selection]] (with link from original). --[[User:JohnBeckett|JohnBeckett]] 08:42, 6 February 2009 (UTC)
   
 
==Substitute Word Under Cursor==
----
 
  +
'''Merged to [[VimTip464]]'''
 
:Merge this tip into one of the following (probably 464 where the author added a "see also" to the new tip, with an acknowledgement in the edit summary that it might have been better to put the info in 464).
 
:*[[VimTip159|159 Keystroke Saving Substituting and Searching]]
 
:*[[VimTip464|464 Search and replace the word under the cursor]]
 
:*[[VimTip1501|1501 Substitute last search]]
 
:Should put a "see also" in 464 with the above list. --[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
 
::Merge [[VimTip464|464 Search and replace the word under the cursor]] is basically the same. [[User:Carpetsmoker|-- Carpetsmoker]] 09:15, 14 April 2008 (UTC)
 
:::I have merged this to 464 and cleaned up 464. --[[User:JohnBeckett|JohnBeckett]] 06:11, 4 May 2008 (UTC)
   
==[[NERD Tree Plugin]]==
+
==[[Switch Lines]]==
  +
'''Merged to [[VimTip47]]'''
 
:Merged to [[Swapping characters, words and lines]] and kept as a redirect to that tip.
   
==[[New When Hardlinked]]==
+
==[[To Html]]==
 
I suspect there is already a tip that is about "converting the current document into HTML with respect of current highlighting". Otherwise, the title is the name of a command that :h will explain. It should instead describes what it accomplishes. --[[User:Luc Hermitte|Luc Hermitte]] 03:00, 19 April 2008 (UTC)
 
:Merged to [[VimTip198]]. Will keep title as redirect to 198. --[[User:JohnBeckett|JohnBeckett]] 10:06, 17 January 2009 (UTC)
   
==[[New to Vim]]==
+
==[[Tutorial]]==
  +
'''Keep''' Tip was originally "Tutorial Commands". Have renamed it and merged in "Vim Tutor" info. --[[User:JohnBeckett|JohnBeckett]] 08:11, 9 February 2009 (UTC)
   
==[[Omni Completion]]==
+
==[[Vim Diff]]==
  +
'''Merged to [[VimTip416]]''' (need to rename 416) --[[User:JohnBeckett|JohnBeckett]] 07:43, 3 March 2009 (UTC)
 
:Define "don't work well". Why is the new version proposed superior? Does vim7(.1?) deprecates this tip? --[[User:Luc Hermitte|Luc Hermitte]] 02:55, 19 April 2008 (UTC)
   
==[[Paste Indent Problems]]==
+
==[[Vim Tutor]]==
  +
'''Merged to [[Tutorial]]''' --[[User:JohnBeckett|JohnBeckett]] 08:11, 9 February 2009 (UTC)
 
----
  +
This is just <code>:h vimtutor</code>. ([[User:Spiiph|Spiiph]] 18:06, 26 December 2008 (UTC))
 
----
  +
It would be nice to have a tip about the tutorial, for the simple reason that a new Vim user, on finding this site, may very well decide to search for any sort of tutorial on Vim to help them get started. If we create a redirect called "Tutorial" this will even be the first hit. Since it originally just duplicated the help, I have pretty much replaced the tip with a help link. I would recommend keeping it. --[[User:Fritzophrenic|Fritzophrenic]] 17:59, 17 January 2009 (UTC)
   
 
==VirtualStore==
==[[Read Write System Enviroment Variables]]==
 
  +
'''Merged to [[VimTip1542]]'''
 
:The two mysterious tips we have on Vista are a worry. I hate the idea of deleting an entire directory tree (<code>rmdir /q /s</code>) with no explanation. I'm pretty sure it would be better to work out exactly what the problem is and avoid it. However, perhaps we should keep this tip, with the plaintive comment I've put in it, in the hope that people who understand Vista will one day fix these tips. --[[User:JohnBeckett|JohnBeckett]] 04:18, 19 March 2008 (UTC)
 
::I now think the content of this tip should be moved to [[VimTip1542|1542 Vim on Vista]]. The author of VirtualStore made only the one contribution, and there has been no feedback to the comments that I added on the tip page. Merging the two rather dodgy Vista tips for later consideration seems safest. --[[User:JohnBeckett|JohnBeckett]] 06:11, 4 May 2008 (UTC)
 
:::I have merged this to 1542. --[[User:JohnBeckett|JohnBeckett]] 04:49, 7 May 2008 (UTC)
   
==[[Reselect Visual Block]]==
+
==[[Vis Vim]]==
  +
Merged to [[VimTip683]].
   
==[[Super Retab]]==
+
==[[Vis Vim Disinterest]]==
  +
Merged to [[VimTip683]].
 
:Why two /Vis Vim */ tips?
 
:Moreover, for those who haven't known the no-longer-supported VC6, this title won't tell what the tip is about.
 
:I'd rather have only one "Integration with VC/VS" tip. This tip can then have a section related to visvim, or any new system that will take its place. --[[User:Luc Hermitte|Luc Hermitte]] 02:44, 19 April 2008 (UTC)
  +
::I'd be surprised if anyone is even interested in knowing about "Vis Vim", but collecting all "VS integration" tips in one page is a good idea. ([[User:Spiiph|Spiiph]] 18:10, 26 December 2008 (UTC))
   
==[[Super Tab Plugin]]==
+
==[[Where to download Vim]]==
  +
'''Keep'''
 
:Original title was "Which verson of Vim should I use?" (with typo). Keep tip and make redirects with various different names to help users find our "how to download Vim" tip. --[[User:JohnBeckett|JohnBeckett]] 10:10, 20 October 2008 (UTC)
   
  +
</div><!-------------------------------------------------------------------------------->
==[[Surround Plugin]]==
 
   
  +
<div style="background:#f0f0f0; margin-top:0.5em; padding:0 10px 0 10px; border:1px solid #888888;">
==[[Surrounding Parens]]==
 
  +
==Best plugins==
Why two tips?
 
  +
'''Each of the following has been replaced with a redirect to the new "Best plugins" section on the "Vim scripts" page.'''
BTW, there are other surrounding plugins. --[[User:Luc Hermitte|Luc Hermitte]] 02:52, 19 April 2008 (UTC)
 
   
  +
I have put the content (improved) of each of the following on the [[Vim scripts#Best plugins|Vim scripts]] page. The redirect pages will be kept in case the #vim community refer to these links. --[[User:JohnBeckett|JohnBeckett]] 01:45, 25 January 2009 (UTC)
==[[Switch Lines]]==
 
'''We have finished discussing this tip &ndash; it has been merged.'''
 
Merged to [[Swapping characters, words and lines]] and kept as a redirect to that tip.
 
   
==[[Tag List Plugin]]==
+
*[[Best Plugins]]
 
*[[Enhanced Commentify Plugin]]
  +
*[[Large File Plugin]]
  +
*[[NERD Tree Plugin]]
  +
*[[Super Tab Plugin]]
 
*[[Surround Plugin]]
  +
*[[Surrounding Parens]] this is linked from [http://vi-improved.org/faq.php MetaCosm's FAQ page], so I made a precise anchor for it
  +
*[[Tag List Plugin]]
  +
</div><!-------------------------------------------------------------------------------->
   
  +
<div style="background:#66ffcc; margin-top:0.5em; padding:0 10px 0 10px; border:1px solid #888888;">
==[[To Html]]==
 
  +
<big>'''''Archive: please don't change text in this box.'''''</big><br />
I suspect there is already a tip that is about "converting the current document into HTML with respect of current highlighting".
 
  +
'''''These tips will be kept. Some are weak, but we don't have suitable alternatives, and we should cover these introductory topics.'''''
   
 
==[[File Format]]==
Otherwise, the title is the name of a command that :h will explain. It should instead describes what it accomplishes. --[[User:Luc Hermitte|Luc Hermitte]] 03:00, 19 April 2008 (UTC)
 
  +
This article is well-written and fairly complete. I want to keep this one and merge our [[VimTip26|existing tip on this topic]] into it, though I won't really mind as long as they get merged together with both titles kept, using this one's content for the most part. --[[User:Fritzophrenic|Fritzophrenic]] 23:15, 25 February 2009 (UTC)
   
==[[Tutorial Commands]]==
+
==[[New to Vim]]==
   
==[[Vim Diff]]==
+
==[[Super Retab]]==
Define "don't work well". Why is the new version proposed superior? Does vim7(.1?) deprecates this tip?
 
--[[User:Luc Hermitte|Luc Hermitte]] 02:55, 19 April 2008 (UTC)
 
   
 
==[[Vim Gpg]]==
 
==[[Vim Gpg]]==
  +
It seems to me that the first and last lines of these four are redundant:<poem><code>
  +
autocmd BufReadPre,FileReadPre *.gpg let ch_save = &ch|set ch=2
  +
autocmd BufReadPre,FileReadPre *.gpg let shsave=&sh
  +
autocmd BufReadPre,FileReadPre *.gpg let &sh='sh'
  +
autocmd BufReadPre,FileReadPre *.gpg let ch_save = &ch|set ch=2
  +
</code></poem>
  +
  +
I'm assuming that saving the default shell value into a temp register, then changing it to the plain unix SHell, isn't going to somehow mess up your ch_save register such that you'd need to re-save the values you just saved before, right? I'm new to Vim scripting, but seriously, this is just a cut-and-paste mistake on somebody's part...?
  +
:Forgot to use <nowiki>~~~~</nowiki>? In any case, the current tip contains a lot of crap. I've added a comment with an improved, but untested version. It could probably be improved further. ([[User:Spiiph|Spiiph]] 18:02, 26 December 2008 (UTC))
   
 
==[[Vim IRC FAQ]]==
 
==[[Vim IRC FAQ]]==
  +
Random collection of <code>:help</code> commands. It could perhaps be merged with a FAQ, if there is one. ([[User:Spiiph|Spiiph]] 18:04, 26 December 2008 (UTC))
 
==[[Vim Tutor]]==
 
   
 
==[[Vim on Freenode]]==
 
==[[Vim on Freenode]]==
   
==[[Vis Vim]]==
+
==[[Where Are My Settings]]==
  +
Recommend keep, but rename to "Debugging unexpected option settings" or something similar. Keep the old page title as a redirect in case it is linked on freenode or something. --[[User:Fritzophrenic|Fritzophrenic]] 17:59, 17 January 2009 (UTC)
  +
</div><!-------------------------------------------------------------------------------->
 
[[Category:VimTipProposed]]
   
==[[Vis Vim Disinterest]]==
 
Why two /Vis Vim */ tips?
 
Moreover, for those who haven't known the no-longer-supported VC6, this title won't tell what the tip is about.
 
   
  +
===Status of tips from Metacosm===
I'd rather have only one "Integration with VC/VS" tip. This tip can then have a section related to visvim, or any new system that will take its place. --[[User:Luc Hermitte|Luc Hermitte]] 02:44, 19 April 2008 (UTC)
 
  +
====Deleted tip====
  +
''All done – no further action is required for this tip.''<br>
  +
Do not need a redirect because following title is not used externally.
  +
*Date Time Insert – merged to [[VimTip97]]
   
  +
====Merged tips====
==[[Where Are My Settings]]==
 
  +
''All done – no further action is required for these tips.''<br>
  +
Will keep these redirects because they are used externally.
 
*[[Best Plugins]]
  +
*[[Enhanced Commentify Plugin]]
  +
*[[Fix Backspace]]
  +
*[[Fix Syntax Highlighting]]
  +
*[[Large File Plugin]]
  +
*[[Make a Macro]]
  +
*[[Match It Plugin]]
  +
*[[NERD Tree Plugin]]
  +
*[[Paste Indent Problems]]
  +
*[[Super Tab Plugin]]
  +
*[[Surround Plugin]]
 
*[[Surrounding Parens]]
 
*[[Switch Lines]]
  +
*[[Tag List Plugin]]
  +
*[[To Html]]
  +
*[[Vim Diff]]
  +
*[[Vim Tutor]]
  +
*[[Vis Vim]]
 
*[[Vis Vim Disinterest]]
   
  +
====Keeping these tips====
==[[Where to download Vim]]==
 
  +
''All done – no further action is required for these tips.''<br>
'''We have finished discussing this tip &ndash; it has been kept.'''
 
  +
Have renamed tips as below (will keep old titles as redirects because they are used externally).
----
 
  +
*[[Best Tips]] » [[Quick tips]]
Original title was "Which verson of Vim should I use?" (with typo). Keep tip and make redirects with various different names to help users find our "how to download Vim" tip. --[[User:JohnBeckett|JohnBeckett]] 10:10, 20 October 2008 (UTC)
 
  +
*[[Change GUI Font]] » [[Change font]]
 
  +
*[[File Format]] » [[File format]]
----
 
  +
*[[New When Hardlinked]] » [[Editing a hard link to a file]]
[[Category:VimTipProposed]]
 
  +
*[[New to Vim]] » ''(no change)''
  +
*[[Omni Completion]] » [[Omni completion]]
 
*[[Read Write System Enviroment Variables]] » [[Environment variables]]
  +
*[[Reselect Visual Block]] » [[Visual selection]]
  +
*[[Super Retab]] » [[Super retab]]
  +
*[[Tutorial]] » ''(no change)''
  +
*[[Vim Gpg]] » [[Edit gpg encrypted files]]
  +
*[[Vim IRC FAQ]] » ''(no change)''
  +
*[[Vim on Freenode]] » ''(no change)''
  +
*[[Where Are My Settings]] » [[Debug unexpected option settings]]
 
*[[Where to download Vim]] » ''(no change)''

Latest revision as of 08:34, 15 July 2012

New tips February 2008

This page is an archive listing tips created in February 2008. Please do not edit this page because discussion has finished. If you have any comments, edit the appropriate tip page.

Alternatively, comments can be posted on the mailing list.

Tips from Vim Tips wiki
Proposed new tip Link Current consensus
Automatically add Python paths to Vim path discuss Keep
Substitute Word Under Cursor discuss Merged to VimTip464
VirtualStore discuss Merged to VimTip1542


Tips from Metacosm
Proposed new tip Link Current consensus
Best Plugins discuss Merged (note 1)
Best Tips discuss Keep
Change GUI Font discuss Keep
Date Time Insert discuss Merged to VimTip97
Enhanced Commentify Plugin discuss Merged (note 1)
File Format discuss Keep
Fix Backspace discuss Merged to VimTip68
Fix Syntax Highlighting discuss Merged to VimTip269
Large File Plugin discuss Merged (note 1)
Make a Macro discuss Merged to VimTip398
Match It Plugin discuss Merged to VimTip6
NERD Tree Plugin discuss Merged (note 1)
New When Hardlinked discuss Keep
New to Vim discuss Keep
Omni Completion discuss Keep
Paste Indent Problems discuss Merged to VimTip906
Read Write System Enviroment Variables discuss Keep
Reselect Visual Block discuss Keep
Super Retab discuss Keep
Super Tab Plugin discuss Merged (note 1)
Surround Plugin discuss Merged (note 1)
Surrounding Parens discuss Merged (note 1)
Switch Lines discuss Merged to VimTip47
Tag List Plugin discuss Merged (note 1)
To Html discuss Merged to VimTip198
Tutorial discuss Keep
Vim Diff discuss Merged to VimTip416
Vim Gpg discuss Keep
Vim IRC FAQ discuss Keep
Vim Tutor discuss Merged to Tutorial
Vim on Freenode discuss Keep
Vis Vim discuss Merged to VimTip683
Vis Vim Disinterest discuss Merged to VimTip683
Where Are My Settings discuss Keep
Where to download Vim discuss Keep

Note 1 All content from the "plugin" tips has been copied to a new "Best plugins" section on the Vim scripts page.

Please add your comment (sign with --~~~~) below the appropriate heading. Use ---- between comments.

General comments (not for a specific tip)[]

Archive: please don't change text in this box.
These tips have been handled (kept or merged).

Automatically add Python paths to Vim path[]

Keep

Good tip. I have tried it, and have edited the tip to add details. --JohnBeckett 04:18, 19 March 2008 (UTC)
Keep. It's not perfect, (some modules like os.path don't work) but still useful enough to keep. Carpetsmoker 07:45, 14 April 2008 (UTC)

Best Tips[]

Keep We need some simple tips. --JohnBeckett 09:05, 10 February 2009 (UTC)

This is tutorial material. It contains little of value. (Spiiph 17:46, 26 December 2008 (UTC))

Change GUI Font[]

Keep We need some simple tips. --JohnBeckett 09:05, 10 February 2009 (UTC)

Fix Backspace[]

Merged to VimTip68

Fix Syntax Highlighting[]

Merged to VimTip269

Date Time Insert[]

Merged to VimTip97

It is already present as VimTip97 --Luc Hermitte 02:32, 19 April 2008 (UTC)
I agree and added it as a candidate for deletion [changed to merge] and changed the 1 link that was to it other than here. --Ian Kelling August 2008

Make a Macro[]

Merged to VimTip398

You can get more information from :h 10.1. There must be better macro tip pages. (Spiiph 17:52, 26 December 2008 (UTC))

Match It Plugin[]

Merged to VimTip6

Duplicates Moving to matching braces -- User:Carpetsmoker 12:26, 16 April 2008 (UTC)

New When Hardlinked[]

Keep Have rewritten. --JohnBeckett 08:42, 6 February 2009 (UTC)

Omni Completion[]

Keep Have reworded and added list of links (need to merge some tips in the list). --JohnBeckett 07:43, 3 March 2009 (UTC)

Paste Indent Problems[]

Merged to VimTip906 --JohnBeckett 03:05, 9 February 2009 (UTC)

Read Write System Enviroment Variables[]

Keep Have rewritten. --JohnBeckett 08:42, 6 February 2009 (UTC)

Reselect Visual Block[]

Keep Have moved to Visual selection (with link from original). --JohnBeckett 08:42, 6 February 2009 (UTC)

Substitute Word Under Cursor[]

Merged to VimTip464

Merge this tip into one of the following (probably 464 where the author added a "see also" to the new tip, with an acknowledgement in the edit summary that it might have been better to put the info in 464).
Should put a "see also" in 464 with the above list. --JohnBeckett 04:18, 19 March 2008 (UTC)
Merge 464 Search and replace the word under the cursor is basically the same. -- Carpetsmoker 09:15, 14 April 2008 (UTC)
I have merged this to 464 and cleaned up 464. --JohnBeckett 06:11, 4 May 2008 (UTC)

Switch Lines[]

Merged to VimTip47

Merged to Swapping characters, words and lines and kept as a redirect to that tip.

To Html[]

I suspect there is already a tip that is about "converting the current document into HTML with respect of current highlighting". Otherwise, the title is the name of a command that :h will explain. It should instead describes what it accomplishes. --Luc Hermitte 03:00, 19 April 2008 (UTC)

Merged to VimTip198. Will keep title as redirect to 198. --JohnBeckett 10:06, 17 January 2009 (UTC)

Tutorial[]

Keep Tip was originally "Tutorial Commands". Have renamed it and merged in "Vim Tutor" info. --JohnBeckett 08:11, 9 February 2009 (UTC)

Vim Diff[]

Merged to VimTip416 (need to rename 416) --JohnBeckett 07:43, 3 March 2009 (UTC)

Define "don't work well". Why is the new version proposed superior? Does vim7(.1?) deprecates this tip? --Luc Hermitte 02:55, 19 April 2008 (UTC)

Vim Tutor[]

Merged to Tutorial --JohnBeckett 08:11, 9 February 2009 (UTC)


This is just :h vimtutor. (Spiiph 18:06, 26 December 2008 (UTC))


It would be nice to have a tip about the tutorial, for the simple reason that a new Vim user, on finding this site, may very well decide to search for any sort of tutorial on Vim to help them get started. If we create a redirect called "Tutorial" this will even be the first hit. Since it originally just duplicated the help, I have pretty much replaced the tip with a help link. I would recommend keeping it. --Fritzophrenic 17:59, 17 January 2009 (UTC)

VirtualStore[]

Merged to VimTip1542

The two mysterious tips we have on Vista are a worry. I hate the idea of deleting an entire directory tree (rmdir /q /s) with no explanation. I'm pretty sure it would be better to work out exactly what the problem is and avoid it. However, perhaps we should keep this tip, with the plaintive comment I've put in it, in the hope that people who understand Vista will one day fix these tips. --JohnBeckett 04:18, 19 March 2008 (UTC)
I now think the content of this tip should be moved to 1542 Vim on Vista. The author of VirtualStore made only the one contribution, and there has been no feedback to the comments that I added on the tip page. Merging the two rather dodgy Vista tips for later consideration seems safest. --JohnBeckett 06:11, 4 May 2008 (UTC)
I have merged this to 1542. --JohnBeckett 04:49, 7 May 2008 (UTC)

Vis Vim[]

Merged to VimTip683.

Vis Vim Disinterest[]

Merged to VimTip683.

Why two /Vis Vim */ tips?
Moreover, for those who haven't known the no-longer-supported VC6, this title won't tell what the tip is about.
I'd rather have only one "Integration with VC/VS" tip. This tip can then have a section related to visvim, or any new system that will take its place. --Luc Hermitte 02:44, 19 April 2008 (UTC)
I'd be surprised if anyone is even interested in knowing about "Vis Vim", but collecting all "VS integration" tips in one page is a good idea. (Spiiph 18:10, 26 December 2008 (UTC))

Where to download Vim[]

Keep

Original title was "Which verson of Vim should I use?" (with typo). Keep tip and make redirects with various different names to help users find our "how to download Vim" tip. --JohnBeckett 10:10, 20 October 2008 (UTC)

Best plugins[]

Each of the following has been replaced with a redirect to the new "Best plugins" section on the "Vim scripts" page.

I have put the content (improved) of each of the following on the Vim scripts page. The redirect pages will be kept in case the #vim community refer to these links. --JohnBeckett 01:45, 25 January 2009 (UTC)

Archive: please don't change text in this box.
These tips will be kept. Some are weak, but we don't have suitable alternatives, and we should cover these introductory topics.

File Format[]

This article is well-written and fairly complete. I want to keep this one and merge our existing tip on this topic into it, though I won't really mind as long as they get merged together with both titles kept, using this one's content for the most part. --Fritzophrenic 23:15, 25 February 2009 (UTC)

New to Vim[]

Super Retab[]

Vim Gpg[]

It seems to me that the first and last lines of these four are redundant:


autocmd BufReadPre,FileReadPre *.gpg let ch_save = &ch|set ch=2
autocmd BufReadPre,FileReadPre *.gpg let shsave=&sh
autocmd BufReadPre,FileReadPre *.gpg let &sh='sh'
autocmd BufReadPre,FileReadPre *.gpg let ch_save = &ch|set ch=2

I'm assuming that saving the default shell value into a temp register, then changing it to the plain unix SHell, isn't going to somehow mess up your ch_save register such that you'd need to re-save the values you just saved before, right? I'm new to Vim scripting, but seriously, this is just a cut-and-paste mistake on somebody's part...?

Forgot to use ~~~~? In any case, the current tip contains a lot of crap. I've added a comment with an improved, but untested version. It could probably be improved further. (Spiiph 18:02, 26 December 2008 (UTC))

Vim IRC FAQ[]

Random collection of :help commands. It could perhaps be merged with a FAQ, if there is one. (Spiiph 18:04, 26 December 2008 (UTC))

Vim on Freenode[]

Where Are My Settings[]

Recommend keep, but rename to "Debugging unexpected option settings" or something similar. Keep the old page title as a redirect in case it is linked on freenode or something. --Fritzophrenic 17:59, 17 January 2009 (UTC)


Status of tips from Metacosm[]

Deleted tip[]

All done – no further action is required for this tip.
Do not need a redirect because following title is not used externally.

Merged tips[]

All done – no further action is required for these tips.
Will keep these redirects because they are used externally.

Keeping these tips[]

All done – no further action is required for these tips.
Have renamed tips as below (will keep old titles as redirects because they are used externally).