Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.
Moderator: General Moderators
Todd_Z
Forum Regular
Posts: 708 Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan
Post
by Todd_Z » Thu May 10, 2007 12:52 am
When firefox crashes, and restarts, you get that friendly little box asking if you want to restore the previous state of firefox before it crashed.
Is there a similar feature in VI? Sometimes my ubuntu box just restarts out of nowhere - logs say nothing about the matter :-\
bubblenut
Forum Newbie
Posts: 20 Joined: Sat Feb 03, 2007 4:16 am
Location: London
Post
by bubblenut » Fri May 11, 2007 2:47 am
Vi should store the unsaved files in a .failename.swp file which can then be recovered, is this not happening? If you're talking about restoring all your splits and screens then no, I don't think there is.
Todd_Z
Forum Regular
Posts: 708 Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan
Post
by Todd_Z » Fri May 11, 2007 9:24 am
yea, the swps are there, i meant the tabs and junk :-\
Weirdan
Moderator
Posts: 5978 Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine
Post
by Weirdan » Fri May 11, 2007 12:39 pm
You can use :mksession command periodically.