Vim Tips Wiki
(Remove proposal for current featured tip)
 
(45 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
'''Here is where we discuss tips that might be featured on the [[Vim Tips Wiki|home page]]. Comments welcome!'''
==General comments==
 
   
 
==Procedure==
 
==Procedure==
#Collect nominations from anyone who wants to add to this page. Please follow the format of other nominations, with a section header that links to the tip, followed by some comments on the pros and cons of the tip.
+
*Collect nominations from anyone who wants to add to this page (edit the page and insert a link to a helpful tip, using an existing example for guidance).
#Collect input on these tips from anyone. We're going for consensus, not a strict vote. Add to the ''Pros'' or ''Cons'' or comments below the tip heading. Start with <tt><nowiki>----</nowiki></tt> to create a horizontal rule, write your comments, and sign with <tt><nowiki>~~~~</nowiki></tt>.
+
*Collect comments on nominations from anyone. Start with <tt><nowiki>----</nowiki></tt> to create a horizontal rule, write your comments, and sign with <tt><nowiki>~~~~</nowiki></tt>.
#After a time (about once a month) we will update the article to reflect a new tip.
+
*Once a month we will update the [[Vim Tips Wiki|home page]] with the next featured tip.
  +
*There is an [[Vim_Tips_Wiki:Featured_Tip#Previously_featured_tips|archive]] of previously-featured tips.
#When the article is updated, the current tip will be moved to the 'Previously featured tips' section, and will be removed from this talk page. Old discussion for other tips will remain.
 
#Start over!
 
   
===Comments on procedure===
 
 
 
==Criteria==
 
 
Please nominate any tip that you think is worthwhile, but we won't feature a tip until it meets these criteria:
 
Please nominate any tip that you think is worthwhile, but we won't feature a tip until it meets these criteria:
  +
*Tip has been reviewed, has a tip number, and has no outstanding problems.
#Reviewed tip. If it is an imported tip, someone has merged comments, checked content, etc. and removed the <nowiki>{{review}}</nowiki> tag. If it is a new tip, it has been discussed, kept, and received the <nowiki>{{TipNew}}</nowiki> template.
 
#Clean tip. It is free of grammatical and spelling errors, the information is correct and up-to-date, etc.
+
*Clean tip: makes sense; information is correct and up-to-date, etc.
#Has not been featured before. We have an historic tip section in the article for that.
+
*Tip has not been featured before.
 
===Comments on criteria===
 
 
   
 
==Current nominations==
 
==Current nominations==
  +
;Anyone is welcome to list candidates for featured tips.
'''Does anyone have a view on what featured tips should be next? If so, make a list here, in your preferred order. If you have a feeling about the month, include that.'''
 
  +
<big>What is wanted for next month? Put list in suggested order below.</big>
   
  +
Holy hell, it's been over 2 years?! How about '''[[Searching for files]]'''?
*February? [[Search for visually selected text]] &bull; [[#Search for visually selected text|''discussion'']]
 
  +
:Good idea. Two weeks ago I started on a plan to update the main page by recycling some old items, like I've done before. However, my main motivation was to be able to insert "did you know ... Vim 7.4 ...", and I could not find anything useful to say. When I looked, Steve's Vim-without-Cream had not updated (I think he said his build was broken?), and I had hoped to add that to [[Where to download Vim]], then link to it from the DYK. The stuff on vim.org did not look very helpful, so I gave up. However, any freshening of the main page would be good. [[User:JohnBeckett|JohnBeckett]] ([[User talk:JohnBeckett|talk]]) 10:25, September 2, 2013 (UTC)
*''Deferred -- see discussion'' [[Different syntax highlighting within regions of a file]] &bull; [[#Different syntax highlighting within regions of a file|''discussion'']]
 
   
 
----
 
----
  +
;Candidates (in addition to those listed below):
===[[Search for visually selected text]]===
 
  +
*[[VimTip572|572 Auto highlight current word when idle]]
People often want to know how to do this, and the tip is in quite good shape. There is an explanation that should be of interest to intermediate users (although it doesn't cover all points).
 
*JohnBeckett: This tip ([[VimTip171]]) is good enough to use whenever we want.
 
*Fritzophrenic: Good, but too much of a "here's a script" tip for my taste.
 
   
  +
;Possible candidates, but need more work:
===[[Easy pasting to Windows applications]]===
 
  +
*[[VimTip878|878 Remove unwanted spaces]]
  +
*[[VimTip1581|1581 Tutorial]]
 
----
  +
 
===[[VimTip21|21 Easy pasting to Windows applications]]===
 
Pros:
 
Pros:
 
*Shows use of a somewhat obscure option to integrate Vim with the system clipboard
 
*Shows use of a somewhat obscure option to integrate Vim with the system clipboard
   
 
Cons:
 
Cons:
*Not sure if it works outside Windows, but it might
 
 
*Specific problem that many would love a solution to, but probably won't think to search for it
 
*Specific problem that many would love a solution to, but probably won't think to search for it
   
 
----
 
----
Somebody should see if this works outside of just Windows. If so, we should rename the tip and feature it right away! This is a very useful feature in Windows.
+
Somebody should see if this works outside of just Windows. If so, we should rename the tip and feature it right away! This is a very useful feature in Windows. [[User:Fritzophrenic|Fritzophrenic]] 22:09, 3 December 2007 (UTC)
 
--[[User:Fritzophrenic|Fritzophrenic]] 22:09, 3 December 2007 (UTC)
 
   
 
----
 
----
Maybe merge this tip to [[Accessing the system clipboard]] and feature that one instead.
+
Maybe merge this tip to [[Accessing the system clipboard]] and feature that one instead. [[User:Fritzophrenic|Fritzophrenic]] 21:46, 15 April 2008 (UTC)
 
--[[User:Fritzophrenic|Fritzophrenic]] 21:46, 15 April 2008 (UTC)
 
 
Should probably merge all tips about the system clipboard and feature the result. -- J. Beckett
 
   
 
----
 
----
I've just tested this under the X windowing system (Ubuntu Gutsy Gibbon, X.Org 7.2.5) and it works there too.
+
I've just tested this under the X windowing system (Ubuntu Gutsy Gibbon, X.Org 7.2.5) and it works there too. [[User:BenArmston|BenArmston]] 09:56, 23 May 2008 (UTC)
 
[[User:BenArmston|BenArmston]] 09:56, 23 May 2008 (UTC)
 
   
 
----
 
----
   
===[[Match every word except foo]]===
+
===[[VimTip220|220 Match every word except foo]]===
 
Pros:
 
Pros:
 
*introduction to a fairly obscure search method: zero-width matches
 
*introduction to a fairly obscure search method: zero-width matches
Line 70: Line 57:
   
 
----
 
----
I'm a little unsure about this one, because we don't want to feature every single tip about less frequently used search atoms, but then again, I would never have learned most of those obscure search methods without stumbling upon tips such as this one. I think we should feature at least a few of these tips, but we need to pick and choose carefully.
+
I'm a little unsure about this one, because we don't want to feature every single tip about less frequently used search atoms, but then again, I would never have learned most of those obscure search methods without stumbling upon tips such as this one. I think we should feature at least a few of these tips, but we need to pick and choose carefully. [[User:Fritzophrenic|Fritzophrenic]] 22:09, 3 December 2007 (UTC)
 
--[[User:Fritzophrenic|Fritzophrenic]] 22:09, 3 December 2007 (UTC)
 
   
 
----
 
----
I'm going to suggest that we remove the nomination for this tip. We already featured it in a way by putting it on the "did you know" page. Unless we start doing an actual "featured content" thing like was suggested in the mailing list, I think that the "did you know" is plenty of featuring for such a simple tip. This still is a great tip! It is just too simple to make a full feature out of I think.
+
I'm going to suggest that we remove the nomination for this tip. We already featured it in a way by putting it on the "did you know" page. Unless we start doing an actual "featured content" thing like was suggested in the mailing list, I think that the "did you know" is plenty of featuring for such a simple tip. This still is a great tip! It is just too simple to make a full feature out of I think. [[User:Fritzophrenic|Fritzophrenic]] 23:25, 29 February 2008 (UTC)
 
--[[User:Fritzophrenic|Fritzophrenic]] 23:25, 29 February 2008 (UTC)
 
   
 
----
 
----
   
 
==Deferred nominations==
 
==Deferred nominations==
 
===[[Different syntax highlighting within regions of a file]]===
 
'''These issues need to be fixed before this tip can be featured''':
 
*Still has <tt><nowiki>{{review}}</nowiki></tt> template.
 
*Text is somewhat broken (e.g. "sections on a web page..." is in first box, and points "3" and "4" are displayed.
 
*There are too many comments. We don't have to merge them all, but we can't feature a tip where the first comment suggests something is not working.
 
--[[User:JohnBeckett|JohnBeckett]] 03:09, 5 January 2009 (UTC)
 
 
----
 
Pros:
 
*Very useful tip - syntax highlight the same file different ways in different places!
 
*Explains concept with simple example, then goes into more useful/more advanced versatile function
 
 
Cons:
 
*Still needs cleaning.
 
*Somewhat advanced topic.
 
*Very specific, probably not very common problem
 
 
----
 
I think we should clean this one up and feature it really soon! I found this tip at random, and used it right away to make an addition to the wikipedia syntax highlighting to include Vim syntax within pre sections. This tip is a must-have for your arsenal if you like to tweak syntax highlighting. It also indirectly illustrates a few other syntax highlighting concepts.
 
 
--[[User:Fritzophrenic|Fritzophrenic]] 22:09, 3 December 2007 (UTC)
 
 
----
 
There seems to be some reliability problems with this tip: there is a comment
 
in the tip stating that it didn't work for the commenter, and I wasn't able to
 
get it to work either (the generic syntax highlighting of the file was removed
 
but non took it's place). Before this tip is featured we should make sure
 
that it works reliably.
 
 
--[[User:BenArmston|BenArmston]] 21:30, 6 July 2008 (UTC)
 
 
----
 
Hmm, interesting. I didn't actually use the function in the tip because I only needed it once (I just used the concept), so let's wait on this one.
 
 
--[[User:Fritzophrenic|Fritzophrenic]] 12:47, 7 July 2008 (UTC)
 
 
----
 
The change by Drmikehenry to unlet b:current_syntax seems to have fixed the problems with this tip. I haven't been able ot reproduce any of them (at least not when unletting). So I think this could be featured once cleaned up.
 
 
--[[User:BenArmston|BenArmston]] 23:50, 28 August 2008 (UTC)
 
----
 

Latest revision as of 10:25, 2 September 2013

Here is where we discuss tips that might be featured on the home page. Comments welcome!

Procedure[]

  • Collect nominations from anyone who wants to add to this page (edit the page and insert a link to a helpful tip, using an existing example for guidance).
  • Collect comments on nominations from anyone. Start with ---- to create a horizontal rule, write your comments, and sign with ~~~~.
  • Once a month we will update the home page with the next featured tip.
  • There is an archive of previously-featured tips.

Please nominate any tip that you think is worthwhile, but we won't feature a tip until it meets these criteria:

  • Tip has been reviewed, has a tip number, and has no outstanding problems.
  • Clean tip: makes sense; information is correct and up-to-date, etc.
  • Tip has not been featured before.

Current nominations[]

Anyone is welcome to list candidates for featured tips.

What is wanted for next month? Put list in suggested order below.

Holy hell, it's been over 2 years?! How about Searching for files?

Good idea. Two weeks ago I started on a plan to update the main page by recycling some old items, like I've done before. However, my main motivation was to be able to insert "did you know ... Vim 7.4 ...", and I could not find anything useful to say. When I looked, Steve's Vim-without-Cream had not updated (I think he said his build was broken?), and I had hoped to add that to Where to download Vim, then link to it from the DYK. The stuff on vim.org did not look very helpful, so I gave up. However, any freshening of the main page would be good. JohnBeckett (talk) 10:25, September 2, 2013 (UTC)

Candidates (in addition to those listed below)
Possible candidates, but need more work

21 Easy pasting to Windows applications[]

Pros:

  • Shows use of a somewhat obscure option to integrate Vim with the system clipboard

Cons:

  • Specific problem that many would love a solution to, but probably won't think to search for it

Somebody should see if this works outside of just Windows. If so, we should rename the tip and feature it right away! This is a very useful feature in Windows. Fritzophrenic 22:09, 3 December 2007 (UTC)


Maybe merge this tip to Accessing the system clipboard and feature that one instead. Fritzophrenic 21:46, 15 April 2008 (UTC)


I've just tested this under the X windowing system (Ubuntu Gutsy Gibbon, X.Org 7.2.5) and it works there too. BenArmston 09:56, 23 May 2008 (UTC)


220 Match every word except foo[]

Pros:

  • introduction to a fairly obscure search method: zero-width matches
  • very powerful method that most people probably don't know about, but will use once they do
  • good explanation of advanced search technique

Cons:

  • Fairly simple tip
  • Already "featured" in the "did you know?" section

I'm a little unsure about this one, because we don't want to feature every single tip about less frequently used search atoms, but then again, I would never have learned most of those obscure search methods without stumbling upon tips such as this one. I think we should feature at least a few of these tips, but we need to pick and choose carefully. Fritzophrenic 22:09, 3 December 2007 (UTC)


I'm going to suggest that we remove the nomination for this tip. We already featured it in a way by putting it on the "did you know" page. Unless we start doing an actual "featured content" thing like was suggested in the mailing list, I think that the "did you know" is plenty of featuring for such a simple tip. This still is a great tip! It is just too simple to make a full feature out of I think. Fritzophrenic 23:25, 29 February 2008 (UTC)


Deferred nominations[]