diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-21 23:57:27 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-21 23:57:27 +1200 |
commit | 42d8136151392209aa8f12e70846d6407335d621 (patch) | |
tree | 896eecc49034a8109f66cb6fb0dc8cc8b52d2cdc /vim/autoload | |
parent | Add a path to Vim help files (diff) | |
download | dotfiles-42d8136151392209aa8f12e70846d6407335d621.tar.gz dotfiles-42d8136151392209aa8f12e70846d6407335d621.zip |
Spin out select_old_files.vim into distro
Diffstat (limited to 'vim/autoload')
-rw-r--r-- | vim/autoload/select_old_files.vim | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/vim/autoload/select_old_files.vim b/vim/autoload/select_old_files.vim deleted file mode 100644 index aceff110..00000000 --- a/vim/autoload/select_old_files.vim +++ /dev/null @@ -1,17 +0,0 @@ -function! select_old_files#(...) abort - if a:0 - if a:1 =~# '^\d\+$' - let limit = a:1 - else - echoerr 'Invalid count' - endif - elseif exists('g:select_old_files_limit') - let limit = g:select_old_files_limit - else - let limit = &lines - 2 - endif - let oldfiles = v:oldfiles - let v:oldfiles = v:oldfiles[:limit - 1] - browse oldfiles - let v:oldfiles = oldfiles -endfunction |