[clug] geany

Jack Kelly endgame.dos at gmail.com
Wed Mar 4 22:11:42 GMT 2009


Mark Woodward wrote:
> Hi Andrew,
> 
> On Wed, 2009-03-04 at 21:41 +1100, Andrew Janke wrote:
>> Aye, I am somewhat aware of the shift stuff in vi, but what I am after
>> is sort of the same but different... If you for example rectangular
>> select the middle 'column' in the following in Nedit:  (eg: in the
>> first line it would be 'blah.')
>>
>>    fred.blah.pl
>>    mary.john.pl
>>    fred.blah.pl
>>    mary.john.pl
>>    fred.blah.pl
>>    mary.john.pl
>>    fred.blah.pl
>>
>> You can then press <Ctrl>9 a few times and quickly get this:
>>
>>    blah.fred.pl
>>    john.mary.pl
>>    blah.fred.pl
>>    john.mary.pl
>>    blah.fred.pl
>>    john.mary.pl
>>    blah.fred.pl

With emacs, you can:
- Set mark (C-space) on the top left corner
- Move to the bottom right corner
- Kill the rectangle with C-x r k
- Move to the top left corner
- Yank (paste) the rectangle with C-x r y

-- Jack


More information about the linux mailing list