Vim Tips Wiki

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 2021ImmuneToDamage 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. undo Tag: Source edit

11 April 2018

13 July 2012

12 September 2010

11 September 2010

6 April 2009

29 September 2008

25 April 2008

9 December 2007

31 May 2007