[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Placing " at beginning and end of line?
From: |
Tassilo Horn |
Subject: |
Re: Placing " at beginning and end of line? |
Date: |
Thu, 19 Mar 2015 14:52:11 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Sharon Kimble <boudiccas@skimble.plus.com> writes:
Hi Sharon,
> How can I place " at the beginning of a line, and " at the end of a
> line, in a highlighted region please? This is a block of 10+ lines,
> and I need quotes from the beginning and end of each line.
I'd use a keyboard macro for that:
<f3> ;; start recording
C-a ;; goto beginning of line
" ;; insert double-quote
C-e ;; goto end of line
" ;; insert double-quote
C-n ;; goto next line
<f4> ;; stop recording
Then you can hit <f4> repeatedly until all your lines are quoted.
HTH,
Tassilo
signature.asc
Description: PGP signature