Vim Tips Wiki

Note: you must log in to view specific page revisions.

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

22 May 2021

15 May 2021

  • curprev 20:4720:47, 15 May 2021 ImmuneToDamage talk contribs 2,312 bytes +72 Improved Suggestion 2. -- Fixed a typo on the last line before `endfunction`. Swapped "%" with "%:p" to avoid failure for files not in cwd. Changed "stat -c" to "stat --printf" to avoid capturing a newline, since this causes breakage at least on some systems. Created a variable to tons of `expand()` and did some escaping for paths and user/group names that might contain spaces. Also removed concatenation operators, since exec does this automatically and adds spaces, given multiple arguments. Tag: Source edit

11 April 2018

  • curprev 23:5723:57, 11 April 2018 75.102.136.35 contribs 2,240 bytes +2 Add "" around % to make this trick work with paths with spaces. Tag: Visual edit
  • curprev 23:5623:56, 11 April 2018 75.102.136.35 contribs 2,238 bytes +2 Added "" around % so that files in a path with spaces works Tag: Visual edit

13 July 2012

  • curprev 06:0006:00, 13 July 2012 JohnBot talk contribs 2,236 bytes +9 Change <tt> to <code>, perhaps also minor tweak.

12 September 2010

11 September 2010

6 April 2009

29 September 2008

  • curprev 23:3823:38, 29 September 2008 JohnBot talk contribs 1,579 bytes −9 Remove html character entities

25 April 2008

  • curprev 05:0705:07, 25 April 2008 JohnBot talk contribs 1,588 bytes +24 Move categories to tip template

9 December 2007

  • curprev 10:0910:09, 9 December 2007 JohnBot talk contribs 1,564 bytes −2,466 Change to TipImported template + severe manual clean

31 May 2007

  • curprev 14:2414:24, 31 May 2007 127.0.0.1 contribs 4,030 bytes +4,030 No edit summary