Mercurial > vim
diff runtime/doc/various.txt @ 27903:d19b7aee1925
Update runtime files.
Commit: https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 26 12:25:45 2022 +0000
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Feb 2022 13:30:04 +0100 |
parents | f1799ba16729 |
children | c968191a8557 |
line wrap: on
line diff
--- a/runtime/doc/various.txt +++ b/runtime/doc/various.txt @@ -267,7 +267,7 @@ 8g8 Find an illegal UTF-8 byte sequenc name does not contain a single quote: > :!ls '%' < This should always work, but it's more typing: > - :exe "!ls " . shellescape(expand("%")) + :exe "!ls " .. shellescape(expand("%")) < To get a literal "%" or "#" prepend it with a backslash. For example, to list all files starting with "%": > @@ -650,7 +650,7 @@ N *+X11* Unix only: can restore window used. In this example |:silent| is used to avoid the message about reading the file and |:unsilent| to be able to list the first line of each file. > - :silent argdo unsilent echo expand('%') . ": " . getline(1) + :silent argdo unsilent echo expand('%') .. ": " .. getline(1) < *:verb* *:verbose*