mirror of
https://github.com/tpope/vim-sensible.git
synced 2025-11-14 05:53:48 -05:00
Remove outdated reference to undo files
This commit is contained in:
@@ -59,25 +59,6 @@ below.
|
|||||||
Feel free to [let me know][GitHub issues] which setting you object to, so I
|
Feel free to [let me know][GitHub issues] which setting you object to, so I
|
||||||
can reassess whether it makes sense to include it.
|
can reassess whether it makes sense to include it.
|
||||||
|
|
||||||
> What's with these `.*.un~` files?
|
|
||||||
|
|
||||||
Basically, they make it so that you can undo things that happened in a
|
|
||||||
previous invocation of Vim. See `:help undo-persistence` for details. If you
|
|
||||||
don't like them strewn all over the file system, you have a couple of options:
|
|
||||||
|
|
||||||
1. Provide your own preferred location in `'undodir'`:
|
|
||||||
|
|
||||||
set undodir^=~/.vim/undo
|
|
||||||
|
|
||||||
2. Disable them entirely:
|
|
||||||
|
|
||||||
if has('persistent_undo')
|
|
||||||
set noundofile
|
|
||||||
endif
|
|
||||||
|
|
||||||
You can also just globally ignore them in your SCM of choice. That's what I
|
|
||||||
do.
|
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
I want this to be a plugin nobody objects to installing. [Let me
|
I want this to be a plugin nobody objects to installing. [Let me
|
||||||
|
|||||||
Reference in New Issue
Block a user