vim-lastplace - Intelligently reopen files at your last edit position in Vim.
https://github.com/farmergreg/vim-lastplace| Installer Source| Releases (json) (tab)
vim-lastplace - Intelligently reopen files at your last edit position in Vim.
https://github.com/farmergreg/vim-lastplace| Installer Source| Releases (json) (tab)
To update (replacing the current version) run webi vim-lastplace
.
These are the files / directories that are created and/or modified with this install:
~/.vim/pack/plugins/start/vim-lastplace/
~/.vim/plugins/lastplace.vim
~/.vimrc
vim-lastplace
will resume your cursor to its last position when you re-open a file, including re-opening folds as needed.
Simply put: installing this plugin will cause your cursor to be put back where you expect it when switching between files.
rm -rf ~/.vim/pack/plugins/start/vim-lastplace
See https://vim.fandom.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session and https://github.com/farmergreg/vim-lastplace