[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: putting double quotes efficiently
From: |
Joost Kremers |
Subject: |
Re: putting double quotes efficiently |
Date: |
3 Jun 2013 17:39:18 GMT |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
C K Kashyap wrote:
> Hi,
> I am looking for a way to transform
>
> print line1
> print line two
> print line3
>
> into
>
> print "line1";
> print "line two";
> print "line3";
>
> most efficiently.
Personally, I'd use Magnar Sveen's nifty multiple-cursors library for
this. Put the cursor on the l of `line1', activate the mark (C-SPC),
move down to the l of `line3', hit C-S-c C-S-c, then type `"', then C-e,
then `";' and done.
--
Joost Kremers joostkremers@fastmail.fm
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
- Re: narrowing considered harmful, (continued)
- Re: narrowing considered harmful, Leo Liu, 2013/06/13
- Re: narrowing considered harmful, Stefan Monnier, 2013/06/14
- Re: narrowing considered harmful, Leo Liu, 2013/06/14
- Re: narrowing considered harmful, Stefan Monnier, 2013/06/14
- Re: narrowing considered harmful, Leo Liu, 2013/06/16
- Re: narrowing considered harmful, Stefan Monnier, 2013/06/17
- RE: narrowing considered harmful, Drew Adams, 2013/06/17
- Re: narrowing considered harmful, Stefan Monnier, 2013/06/17
Re: putting double quotes efficiently, Udyant Wig, 2013/06/03
Re: putting double quotes efficiently,
Joost Kremers <=