Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Emacs Select Multiple Lines
Emacs Select Multiple Lines [message #180344] Wed, 15 November 2006 16:10 Go to next message
Eclipse UserFriend
Originally posted by: spurcell.ilevy.com

hello,

I have the emacs plug in installed, and I have a question. With my old
command line emacs, I used to be able to issue a [ mark (highlight) area
of text and delete it ]

With this Eclipse/Emacs, I cannot figure out the keystrokes for this? Can
anyone give me some assistance here. It is painful when working with large
files and trying to delete blocks without this.


Thanks,
Re: Emacs Select Multiple Lines [message #180352 is a reply to message #180344] Wed, 15 November 2006 16:35 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Scott wrote:

> hello,
>
> I have the emacs plug in installed, and I have a question. With my old
> command line emacs, I used to be able to issue a [ mark (highlight)
> area of text and delete it ]

You don't need a special plug-in for that. Simply switch to the Emacs
key binding scheme and use 'Set Mark' command.

Dani

>
> With this Eclipse/Emacs, I cannot figure out the keystrokes for this?
> Can anyone give me some assistance here. It is painful when working
> with large files and trying to delete blocks without this.
>
>
> Thanks,
>
Re: Emacs Select Multiple Lines [message #180360 is a reply to message #180352] Wed, 15 November 2006 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: spurcell.ilevy.com

This is real new to me. If you don't mind I could use a bit more
assistance.

1) Simply sitch to the emacs key binding scheme? How is this done?

Here is how I am working: Under Preferences->General->Editors->Keys, there
is a tab modify and it shows "scheme: Emacs"
Is this correct?

2) Where is the 'Set Mark' command located at?


Thanks much.
Scott
Re: Emacs Select Multiple Lines [message #180557 is a reply to message #180360] Thu, 16 November 2006 08:00 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Scott wrote:

> This is real new to me. If you don't mind I could use a bit more
> assistance.
>
> 1) Simply sitch to the emacs key binding scheme? How is this done?
> Here is how I am working: Under Preferences->General->Editors->Keys,
> there is a tab modify and it shows "scheme: Emacs"
> Is this correct?

Yes.

>
> 2) Where is the 'Set Mark' command located at?

It's in the 'Text Editing' category and the default shortcuts when using
the Emacs scheme are Ctrl+Space and Ctr+2. There's also a 'Clear Mark'
(Ctrl+G). The text between the set mark and the caret location are
treated as a selection when using copy and paste.

HTH
Dani

>
>
> Thanks much.
> Scott
>
Previous Topic:How to salvage important files from old installation
Next Topic:Cannot get CDT 3.1.1 to work under eclipse SDK 3.2.1
Goto Forum:
  


Current Time: Tue Apr 16 22:04:19 GMT 2024

Powered by FUDForum. Page generated in 0.14732 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top