Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 09-21-2006, 10:33 AM   #1 (permalink)
Osiris's Avatar
 

Join Date: Jan 2005

Location: Kentucky

Posts: 32,235

Osiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the roughOsiris is a jewel in the rough

Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris Send a message via Skype™ to Osiris
Default Go back in text file time with Vim 7.0

The All About Linux blog walks through features of the old school text editor Vim, version 7.0, including the interesting "go back in time" functionality.

In Vim 7.0, a new feature has been included which allows a user to jump back or forward to any point of editing. For example, I am editing a document and after a couple of minutes (say 10 min), I realise that I have made a mistake. I can easily take the document to a point 10 minutes back by using the command :
:earlier 10m
Or for that matter, move to a point 5 seconds ahead by using the command:
:later 5s
You can use the command :undolist to see a list of undo branches existing in the buffer. And each branch will have a number associated with it and it is possible to move to the undo level by using the command:
:undo

While I often Vi on my Linux server, it never occurred to me to use Vim on the Mac or PC. But now that Vim 7.0's got tabs, inline spellcheck, bracket highlighting and this useful go back in time feature along with all the other powerful stuff of this editor, maybe I'll toss EditPlus and TextWrangler and going Vim all the time. Maybe.

http://linuxhelp.blogspot.com/2006/0...le-of-new.html
__________________
Osiris is online now  
Old 09-21-2006, 11:27 AM   #2 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

Hahaha awesome. Vim FTW!
The General is offline  
Old 09-22-2006, 12:05 AM   #3 (permalink)
macdude425's Avatar
 
Member (again)

Join Date: Jan 2005

Location: Raul's Wild Kingdom...How 'bout that, huh?

Posts: 4,200

macdude425 is on a distinguished road

Send a message via AIM to macdude425 Send a message via Yahoo to macdude425
Default

I <3 Emacs.

Even Bill Joy Doesn't Use Vi(m) Anymore!
__________________



Debian Support Forums!
macdude425 is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On