Mercurial > vim
comparison runtime/doc/vi_diff.txt @ 5690:40f18a1c1592 v7.4.191
updated for version 7.4.191
Problem: Escaping a file name for shell commands can't be done without a
function.
Solution: Add the :S file name modifier.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 23 Feb 2014 23:39:13 +0100 |
parents | 22da5ab9aaa1 |
children | 873eae260c97 |
comparison
equal
deleted
inserted
replaced
5689:41fa1a18bc2e | 5690:40f18a1c1592 |
---|---|
538 character (and shows it immediately). | 538 character (and shows it immediately). |
539 | 539 |
540 Added :wnext command. Same as ":write" followed by ":next". | 540 Added :wnext command. Same as ":write" followed by ":next". |
541 | 541 |
542 The ":w!" command always writes, also when the file is write protected. In Vi | 542 The ":w!" command always writes, also when the file is write protected. In Vi |
543 you would have to do ":!chmod +w %" and ":set noro". | 543 you would have to do ":!chmod +w %:S" and ":set noro". |
544 | 544 |
545 When 'tildeop' has been set, "~" is an operator (must be followed by a | 545 When 'tildeop' has been set, "~" is an operator (must be followed by a |
546 movement command). | 546 movement command). |
547 | 547 |
548 With the "J" (join) command you can reset the 'joinspaces' option to have only | 548 With the "J" (join) command you can reset the 'joinspaces' option to have only |