MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/338tx5/vim/cqj28jb/?context=3
r/ProgrammerHumor • u/kobaltzz • Apr 20 '15
427 comments sorted by
View all comments
Show parent comments
3
Can vim continue where I left off if I closed it without saving?
2 u/samling Apr 20 '15 Yes, vim will create a swap file that you can recover from. 0 u/[deleted] Apr 20 '15 [deleted] 2 u/j201 Apr 20 '15 You can save .swp files in any folder. See http://vim.wikia.com/wiki/Remove_swap_and_backup_files_from_your_working_directoryAlso, you can use this: http://vimdoc.sourceforge.net/htmldoc/starting.html#views-sessionsCombining those with key bindings, autocommands, and so on should give you any 'restore' behaviour you want. No, it's not done for you out of the box, but that's not the vim way. → More replies (1)
2
Yes, vim will create a swap file that you can recover from.
0 u/[deleted] Apr 20 '15 [deleted] 2 u/j201 Apr 20 '15 You can save .swp files in any folder. See http://vim.wikia.com/wiki/Remove_swap_and_backup_files_from_your_working_directoryAlso, you can use this: http://vimdoc.sourceforge.net/htmldoc/starting.html#views-sessionsCombining those with key bindings, autocommands, and so on should give you any 'restore' behaviour you want. No, it's not done for you out of the box, but that's not the vim way. → More replies (1)
0
[deleted]
2 u/j201 Apr 20 '15 You can save .swp files in any folder. See http://vim.wikia.com/wiki/Remove_swap_and_backup_files_from_your_working_directoryAlso, you can use this: http://vimdoc.sourceforge.net/htmldoc/starting.html#views-sessionsCombining those with key bindings, autocommands, and so on should give you any 'restore' behaviour you want. No, it's not done for you out of the box, but that's not the vim way. → More replies (1)
You can save .swp files in any folder. See http://vim.wikia.com/wiki/Remove_swap_and_backup_files_from_your_working_directory
Also, you can use this: http://vimdoc.sourceforge.net/htmldoc/starting.html#views-sessions
Combining those with key bindings, autocommands, and so on should give you any 'restore' behaviour you want. No, it's not done for you out of the box, but that's not the vim way.
→ More replies (1)
3
u/[deleted] Apr 20 '15
Can vim continue where I left off if I closed it without saving?