diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-06 21:16:56 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-06 21:16:56 +1200 |
commit | 288978a011ce1515431ae58b4759722207a7739c (patch) | |
tree | 2dc9d862d955fb81c9f02dfec11a5c773c14bd45 /doc | |
parent | Merge branch 'hotfix/v0.1.1' into develop (diff) | |
download | vim-undofileskip-288978a011ce1515431ae58b4759722207a7739c.tar.gz vim-undofileskip-288978a011ce1515431ae58b4759722207a7739c.zip |
Rename plugin
In order to better reflect 'backupskip', the name should be
'undofileskip', not 'undoskip'. After all, the undo feature isn't
removed, only its persistence.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/undofileskip.txt (renamed from doc/undoskip.txt) | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/undoskip.txt b/doc/undofileskip.txt index c0dbbe5..dcad260 100644 --- a/doc/undoskip.txt +++ b/doc/undofileskip.txt @@ -1,27 +1,27 @@ -*undoskip.txt* For Vim version 8.0 Last change: 2020 May 5 +*undofileskip.txt* For Vim version 8.0 Last change: 2020 May 5 -DESCRIPTION *undoskip* +DESCRIPTION *undofileskip* This plugin emulates the `'backupskip'` option's functionality for the |+persistent_undo| feature, checking buffer file paths against a list of globs, and switching the `'undofile'` option off locally if any of them match. -REQUIREMENTS *undoskip-requirements* +REQUIREMENTS *undofileskip-requirements* This plugin only loads if 'compatible' is not set. If requires both the |+persistent_undo| feature and the |glob2regpat()| function. The earliest full release of Vim with both of these was v8.0. -OPTIONS *undoskip-options* +OPTIONS *undofileskip-options* - *g:undoskip* -Set `g:undoskip` to a list of globs to match against file buffer paths and + *g:undofileskip* +Set `g:undofileskip` to a list of globs to match against file buffer paths and switch 'undofile' on or off accordingly. Defaults to the same values as 'backupskip' (or tries to). Some possibly useful values: > - let g:undoskip = [ + let g:undofileskip = [ \ '/tmp/*', \ '/dev/shm/*', \ '/usr/tmp/*', @@ -31,11 +31,11 @@ Some possibly useful values: \ '*.git/rebase-merge/git-rebase-todo', \] < -AUTHOR *undoskip-author* +AUTHOR *undofileskip-author* Written and maintained by Tom Ryder <tom@sanctum.geek.nz>. -LICENSE *undoskip-license* +LICENSE *undofileskip-license* Licensed for distribution under the same terms as Vim itself (see |license|). |