diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-11-30 22:48:32 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-11-30 22:48:32 +0100 |
commit | 07dc18ffa4e7ed202f219fe2fd3d6f58246f71f9 (patch) | |
tree | cff51538c1e68b208e06b278f4b675dbe00380a0 /runtime/doc/repeat.txt | |
parent | 01a060da74b756b161e595b39a7877cb7612120a (diff) | |
download | vim-git-07dc18ffa4e7ed202f219fe2fd3d6f58246f71f9.tar.gz |
patch 8.1.0553: it is not easy to edit a script that was sourcedv8.1.0553
Problem: It is not easy to edit a script that was sourced.
Solution: Add a count to ":scriptnames", so that ":script 40" edits the
script with script ID 40.
Diffstat (limited to 'runtime/doc/repeat.txt')
-rw-r--r-- | runtime/doc/repeat.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index 8538d0c2f..6e652202b 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -334,6 +334,9 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. {not in Vi} {not available when compiled without the |+eval| feature} +:scr[iptnames][!] {scriptId} *:script* + Edit script {scriptId}. Suggested name is ":script". + *:fini* *:finish* *E168* :fini[sh] Stop sourcing a script. Can only be used in a Vim script file. This is a quick way to skip the rest of |