path: root/doc
diff options
authorTom Ryder <tom@sanctum.geek.nz>2019-06-21 23:44:34 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-21 23:44:34 +1200
commitcab220e17586e5cb648ab218c4b54fd5062b5fd0 (patch)
treed4ef027f26834a380c1533d0b71794cc188a5957 /doc
parentCommitting plugin as I've got it (diff)
Add :help and README.md
Diffstat (limited to 'doc')
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/select_old_files.txt b/doc/select_old_files.txt
new file mode 100644
index 0000000..d6fd8fe
--- /dev/null
+++ b/doc/select_old_files.txt
@@ -0,0 +1,40 @@
+*select_old_files.txt* For Vim version 7.0 Last change: 2019 Jun 21
+DESCRIPTION *select_old_files*
+Slightly enhanced `:browse oldfiles` that limits the count of selectable
+files, defaulting to just short of the window height, to avoid a pager.
+REQUIREMENTS *select_old_files-requirements*
+This plugin only loads if 'compatible' is not set.
+COMMANDS *select_old_files-commands*
+ *:SelectOldFiles*
+Enter the `:SelectOldFiles` command for a |v:oldfiles| menu. It works like
+`:browse oldfiles`, except it limits the number of files presented. An
+optional argument can be provided; it defaults to `g:select_old_files_limit`
+if set, or a count just short of the window height.
+MAPPINGS *select_old_files-mappings*
+ *<Plug>(SelectOldFiles)*
+The `<Plug>(SelectOldFiles)` map in normal mode just does `:SelectOldFiles`
+with no argument.
+OPTIONS *select_old_files-options*
+ *g:select_old_files_limit*
+Set `g:select_old_files_limit` to the default count of |v:oldfiles| to be used
+in the absence of an argument to `:SelectOldFiles`.
+AUTHOR *select_old_files-author*
+Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
+LICENSE *select_old_files-license*
+Licensed for distribution under the same terms as Vim itself (see |license|).
+ vim:tw=78:ts=8:ft=help:norl: