Mercurial > vim
diff runtime/doc/repeat.txt @ 15085:1783c0b6bc2e v8.1.0553
patch 8.1.0553: it is not easy to edit a script that was sourced
commit https://github.com/vim/vim/commit/07dc18ffa4e7ed202f219fe2fd3d6f58246f71f9
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Nov 30 22:48:32 2018 +0100
patch 8.1.0553: it is not easy to edit a script that was sourced
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 30 Nov 2018 23:00:06 +0100 |
parents | 40ef13331e02 |
children | 8b334e4cb97f |
line wrap: on
line diff
--- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -334,6 +334,9 @@ For writing a Vim script, see chapter 41 {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