[SATLUG] Re: Question of the Week

indigotwilight at softhome.net indigotwilight at softhome.net
Tue May 4 17:01:18 CDT 2004


> Using your favorite editor how do you: 
> 
> 1.) mark or uniquely identify locations within a text file
> 2.) move among these locations
> 3.) cut or copy text between existing marks to the clipboard
> 4.) paste the text to a new location 

Using vim (VI Improved)...

1.) in command mode, m? where { ? | a < ? < Z }
2.) in command mode, '? where mark ? is defined

Don't really use a question mark in the above, the question mark just 
indicates a variable letter.  There's probably some creative vi voodoo for 3 
and 4.  Of course, for serious code editing, the Eclipse IDE is the way to 
go.

 -Mike

 



More information about the Satlug mailing list