diff options
author | Max Christian Pohle | 2023-01-09 21:32:27 +0100 |
---|---|---|
committer | Max Christian Pohle | 2023-01-09 21:32:27 +0100 |
commit | 7845fa4e392e8808693096329bf3638e3231186f (patch) | |
tree | 3d24fa2ac5ecb3d696ce67a314f3d5ee5f1b2d77 | |
parent | b0762c939a9c1cd1e8e8d88d3491c28d556e993e (diff) | |
download | vim-recently-used-master.tar.bz2 vim-recently-used-master.zip |
-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("'\"")) | ||