mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-03-03 18:00:18 +00:00
29 lines
776 B
Markdown
29 lines
776 B
Markdown
---
|
|
title: vim-lastplace
|
|
homepage: https://github.com/farmergreg/vim-lastplace
|
|
tagline: |
|
|
vim-lastplace - Intelligently reopen files at your last edit position in Vim.
|
|
---
|
|
|
|
To update (replacing the current version) run `webi vim-lastplace`.
|
|
|
|
## Cheat Sheet
|
|
|
|
> `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.
|
|
|
|
### How to remove lastplace
|
|
|
|
```vim
|
|
rm -rf ~/.vim/pack/plugins/start/vim-lastplace
|
|
```
|
|
|
|
### How to configure manually
|
|
|
|
See
|
|
<https://vim.fandom.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session>
|
|
and <https://github.com/farmergreg/vim-lastplace>
|