diff options
-rw-r--r-- | plugin/vim-recently-used.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/vim-recently-used.vim b/plugin/vim-recently-used.vim index ecd8cb9..f3c4b00 100644 --- a/plugin/vim-recently-used.vim +++ b/plugin/vim-recently-used.vim | |||
@@ -12,7 +12,7 @@ command! RecentlyUsed call setloclist(0, []) | |||
12 | \ | setfiletype qf | 12 | \ | setfiletype qf |
13 | \ | call setloclist(0, [], 'r', { | 13 | \ | call setloclist(0, [], 'r', { |
14 | \ 'title':'Recently used files in directory: '.getcwd(), | 14 | \ 'title':'Recently used files in directory: '.getcwd(), |
15 | \ 'items':sort(map(filter(filter(mapnew(v:oldfiles[:100], | 15 | \ 'items':sort(map(filter(filter(map(copy(v:oldfiles[:100]), |
16 | \ {_, p->fnamemodify(p,':p')}), | 16 | \ {_, p->fnamemodify(p,':p')}), |
17 | \ "fnamemodify(v:val, ':h') =~? \'" . | 17 | \ "fnamemodify(v:val, ':h') =~? \'" . |
18 | \ getcwd()->fnamemodify(':p:h')->escape(' \')."\'"), | 18 | \ getcwd()->fnamemodify(':p:h')->escape(' \')."\'"), |