From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: copying and pasting in emacs
Date: Sun, 05 Apr 2009 16:43:11 -0500 [thread overview]
Message-ID: <9o6dnReEU6DgikTUnZ2dnUVZ_sPinZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.4665.1238954048.31690.help-gnu-emacs@gnu.org>
Peter Finn wrote:
> At Sun, 5 Apr 2009 07:17:02 -0700 (PDT),
> luca pamparana wrote:
>> Hello,
>>
>> I am unable to figure out how to select and copy text as you would do
>> in another editors:
>>
>> For example, one thing I normally need to do is select from the
>> current position upto the next few words. Normally, I just press shift
>> + ctrl and the left or right arrow key and the editor would highlight
>> one word at a time. I have so far been unable to figure out how to
>> highlight text in emacs using the keyboard.
>>
>> Anyone knows how I can do it esp. highlighting one word, line etc. at
>> a time.
>>
>> Many thanks,
>>
>> Luca
>
> If you want behavior similar to other editors you might want to try
> turning on CUA mode (M-x cua-mode <RET>) which will give you exactly the
> selection behavior you want (using <SHIFT> in combination with <ARROW>);
> as well as key-bindings for the copying, cutting, and pasting of text
> similar to other editors you may be familiar with.
>
> CUA mode can be enabled permanently through Emacs' customization
> facility by typing: M-x customize-variable <RET> cua-mode <RET> and
> setting is value to ON, and saving your changes.
>
> Peter
>
>
And if you want the basic pc selection keys but want to leave Emacs
undisturbed for everything else then do this:
Menu>Customize Emacs>Specific Group....
pc-select
Then turn on 1, 2, and 5 (Override Scroll Error, Pc Selection Keys Only,
and Pc Selection Mode)
Save for future sessions
This will save the settings in your .emacs. This way the setup will
encourage or at least allow you to learn C-space, C-w, M-w, C-y, M-y,
and Emacs standard cursor movement keys.
Ed
next prev parent reply other threads:[~2009-04-05 21:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-05 14:17 copying and pasting in emacs luca.pamparana
2009-04-05 14:56 ` Richard Riley
2009-04-05 14:57 ` lore
2009-04-05 15:45 ` Nurullah Akkaya
2009-04-05 16:06 ` rustom
2009-04-05 17:48 ` Drew Adams
2009-04-05 17:53 ` Peter Finn
[not found] ` <mailman.4665.1238954048.31690.help-gnu-emacs@gnu.org>
2009-04-05 21:43 ` B. T. Raven [this message]
2009-04-06 7:29 ` Nikolaj Schumacher
[not found] ` <mailman.4658.1238946331.31690.help-gnu-emacs@gnu.org>
2009-05-02 23:50 ` David Combs
-- strict thread matches above, loose matches on Subject: below --
2009-04-06 9:07 Bourgneuf Francois
2009-04-06 9:42 ` Daniel Dalton
2009-04-06 14:55 ` Peter Dyballa
2009-04-06 14:56 ` Renaud Casenave-Péré
[not found] ` <mailman.4706.1239028278.31690.help-gnu-emacs@gnu.org>
2009-05-02 23:59 ` David Combs
2009-04-06 9:47 Daniel Dalton
2009-04-06 14:55 ` Alan Mackenzie
2009-04-06 21:40 ` Daniel Dalton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9o6dnReEU6DgikTUnZ2dnUVZ_sPinZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.