Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What are your undo settings? I set undofile and undodir, but not sure if it's unlimited.

One issue I have is if nvim is closed and the file is touched by some outside process (say git pull) it clobbers the history. Do you know if there's a fix to that?




re: undo settings, I set my `undolevels` [0] to a very high number to make it unlimited for all intents and purposes.

[0] https://vimdoc.sourceforge.net/htmldoc/options.html#'undolev...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: