| Summary: | Vim has persistent undo by default now (was: Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename>) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Marja Van Waes <marja11> |
| Component: | RPM Packages | Assignee: | Thierry Vignaud <thierry.vignaud> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | Keywords: | FOR_RELEASENOTES6, UPSTREAM |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | vim-8.0.133-2.mga6 | CVE: | |
| Status comment: | |||
|
Description
Marja Van Waes
2017-01-01 12:39:34 CET
Marja Van Waes
2017-01-01 12:40:25 CET
Summary:
Since vim-8.0.3 or 8.0.5, vim creates large .<filename>.un~ files when it saves <filename> =>
Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename> Apparently default vim behaviour was changed from not having "persistent undo" to having it. http://stackoverflow.com/questions/15660669/what-is-a-un-file-or-or-why-does-vim-in-the-terminal-make-the-un-file It does indeed work: I can undo changes now that were made before I last saved the file. Persistent redo seems to work, too: undoing a change, saving the file, and then redoing it with ctrl+R, works. I never missed this feature, though :-þ If we keep it as default, then we should add it to the release notes (both for those who might be delighted to have it, and for those who won't be too happy with it)
Marja Van Waes
2017-01-01 13:54:34 CET
Summary:
Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename> =>
Vim's has persistent undo by default now (was: Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename>)
Marja Van Waes
2017-01-01 13:55:28 CET
Summary:
Vim's has persistent undo by default now (was: Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename>) =>
Vim has persistent undo by default now (was: Since vim-8.0.3 or 8.0.5, vim also writes a large .<filename>.un~ file when it saves <filename>) To revert this to previous behaviour
(only keep a " <filename>~ " backup of the previous time the file was saved) add:
set noundofile
set backup
to your ~/.vimrcKeywords:
(none) =>
FOR_RELEASENOTES6, UPSTREAM Closing, everyone will have gotten used to the new default Resolution:
(none) =>
OLD |