diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-07-07 08:15:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 08:15:33 +0200 |
commit | 55e81b0fe8bb205b579c1da24b3ac042191a4bbf (patch) | |
tree | b9bfec97d8575800605e79adfef22c1e7ed09442 /runtime/doc | |
parent | 6b72ee1f15757907776ef7840d640906da02e924 (diff) | |
download | rneovim-55e81b0fe8bb205b579c1da24b3ac042191a4bbf.tar.gz rneovim-55e81b0fe8bb205b579c1da24b3ac042191a4bbf.tar.bz2 rneovim-55e81b0fe8bb205b579c1da24b3ac042191a4bbf.zip |
vim-patch:5ed11535e069 (#19256)
Update runtime files
https://github.com/vim/vim/commit/5ed11535e0695163cec71033b98bb97356cf0113
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/builtin.txt | 4 | ||||
-rw-r--r-- | runtime/doc/intro.txt | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index b458679560..df5a636070 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -2367,6 +2367,10 @@ fnamemodify({fname}, {mods}) *fnamemodify()* /home/user/vim/vim/src < If {mods} is empty or an unsupported modifier is used then {fname} is returned. + When {fname} is empty then with {mods} ":h" returns ".", so + that `:cd` can be used with it. This is different from + expand('%:h') without a buffer name, which returns an empty + string. Note: Environment variables don't work in {fname}, use |expand()| first then. diff --git a/runtime/doc/intro.txt b/runtime/doc/intro.txt index 0074dc0733..51e823b75f 100644 --- a/runtime/doc/intro.txt +++ b/runtime/doc/intro.txt @@ -565,7 +565,7 @@ gQ Switch to Ex mode. This is like typing ":" commands one after another, except: - You don't have to keep pressing ":". - The screen doesn't get updated after each command. - Use the ":vi" command |:visual| to exit this mode. + Use the `:vi` command (|:visual|) to exit this mode. ============================================================================== Window contents *window-contents* |