diff options
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/vim-recently-used.vim | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/plugin/vim-recently-used.vim b/plugin/vim-recently-used.vim index f3c4b00..c8f8f11 100644 --- a/plugin/vim-recently-used.vim +++ b/plugin/vim-recently-used.vim | |||
| @@ -36,3 +36,7 @@ autocmd VimEnter * | |||
| 36 | \ | execute ':RecentlyUsed" | 36 | \ | execute ':RecentlyUsed" | 
| 37 | \ | wincmd w' | 37 | \ | wincmd w' | 
| 38 | \ | endif | 38 | \ | endif | 
| 39 | |||
| 40 | " When opening files: Restore last cursor position from shadafile or viminfo | ||
| 41 | autocmd BufReadPost * | ||
| 42 | \ call setpos(".", getpos("'\"")) | ||
