Vim Tips Wiki
 
(36 intermediate revisions by 3 users not shown)
Line 1: Line 1:
'''Here is where we discuss tips that might be featured on the [[Main Page]]. Comments welcome!'''
+
'''Here is where we discuss tips that might be featured on the [[Vim Tips Wiki|home page]]. Comments welcome!'''
   
 
==Procedure==
 
==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 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 <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>.
*Once a month we will update the [[Main Page]] with the next featured 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.
 
*There is an [[Vim_Tips_Wiki:Featured_Tip#Previously_featured_tips|archive]] of previously-featured tips.
   
Line 14: Line 14:
 
==Current nominations==
 
==Current nominations==
 
;Anyone is welcome to list candidates for featured tips.
 
;Anyone is welcome to list candidates for featured tips.
  +
<big>What is wanted for next month? Put list in suggested order below.</big>
*'''June''' [[VimTip1300|1300 List changes to the current file]]
 
*'''July''' [[VimTip857|857 Different syntax highlighting within regions of a file]] Time for a more advanced one again, let's make it a goal to clean up.
 
*'''August''' [[VimTip42|42 Using marks]] simple but useful; recently enhanced
 
   
  +
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. [[User:JohnBeckett|JohnBeckett]] ([[User talk:JohnBeckett|talk]]) 10:25, September 2, 2013 (UTC)
   
 
----
 
;Candidates (in addition to those listed below):
 
;Candidates (in addition to those listed below):
  +
*[[VimTip572|572 Auto highlight current word when idle]]
*[[VimTip27|27 Convert hex to decimal]]
 
*[[VimTip1613|1613 Hex dump]]
 
   
 
;Possible candidates, but need more work:
 
;Possible candidates, but need more work:
 
*[[VimTip878|878 Remove unwanted spaces]]
 
*[[VimTip878|878 Remove unwanted spaces]]
 
*[[VimTip1581|1581 Tutorial]]
 
*[[VimTip1581|1581 Tutorial]]
 
----
   
 
===[[VimTip21|21 Easy pasting to Windows applications]]===
 
===[[VimTip21|21 Easy pasting to Windows applications]]===
Line 64: Line 65:
   
 
==Deferred nominations==
 
==Deferred nominations==
 
===[[VimTip857|857 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[]