diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 20:46:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-16 20:46:57 +1200 |
commit | 72195cf648af3c9db85a0f864574965dc6b8409d (patch) | |
tree | 231786e5251d78c0dd38a339745716ba84f10b0f /vim/plugin/select_old_files.vim | |
parent | Enhance load guard or select_old_files.vim (diff) | |
download | dotfiles-72195cf648af3c9db85a0f864574965dc6b8409d.tar.gz dotfiles-72195cf648af3c9db85a0f864574965dc6b8409d.zip |
Refactor select_old_files.vim to allow count
Diffstat (limited to 'vim/plugin/select_old_files.vim')
-rw-r--r-- | vim/plugin/select_old_files.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/plugin/select_old_files.vim b/vim/plugin/select_old_files.vim index c03f0c39..77c7746e 100644 --- a/vim/plugin/select_old_files.vim +++ b/vim/plugin/select_old_files.vim @@ -2,7 +2,7 @@ if exists('loaded_select_old_files') || &compatible || !exists(':oldfiles') finish endif let loaded_select_old_files = 1 -command! -bar SelectOldFiles - \ call select_old_files#() +command! -bar -nargs=? SelectOldFiles + \ call select_old_files#(<f-args>) nnoremap <Plug>SelectOldFiles \ :<C-U>SelectOldFiles<CR> |