diff options
-rw-r--r-- | README.md | 13 | ||||
-rw-r--r-- | doc/select_old_files.txt | 40 |
2 files changed, 53 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..cd4208c --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +select\_old\_files.vim +====================== + +Slightly enhanced `:browse oldfiles` that limits the count of selectable files, +defaulting to just short of the window height, to avoid a pager. + +License +------- + +Copyright (c) [Tom Ryder][1]. Distributed under the same terms as Vim itself. +See `:help license`. + +[1]: https://sanctum.geek.nz/ 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: |