This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 400939 - Customizable Keys for Line Up, Line Down, etc.
Summary: Customizable Keys for Line Up, Line Down, etc.
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 1.1.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.1.0 M2   Edit
Assignee: Holger Voormann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 11:01 EST by Holger Voormann CLA
Modified: 2013-02-17 17:28 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Voormann CLA 2013-02-15 11:01:44 EST
See forum topic: http://www.eclipse.org/forums/index.php?t=rview&goto=1009590#msg_1009590

Currently, Vex supports customizable key bindings for higher level commands only.

This feature request is about adding key bindings for the following commands (which can be changed in Window > Preferences > General > Keys):
- Line Up (Up; Emacs: Ctrl+P)
- Line Down (Down; Emacs: Ctrl+N)
- Previous Column (Left; Emacs: Ctrl+F)
- Next Column (Right; Emacs: Ctrl+B)
- Previous Word (Ctrl+Left; Emacs: Alt+B)
- Next Word (Ctrl+Right; Emacs: Alt+F)
- Line Start (Home; Emacs: Ctrl+A) 
- Line End (End; Emacs: Ctrl+E)
- Select Previous Word (Ctrl+Shift+Left)
- Select Next Word (Ctrl+Shift+Right)
- Select Line Start (Shift+Home)
- Select Line End (Shift+End)
- Delete Previous Word (Ctrl+Backspace)
- Delete Next Word (Ctrl+Delete; Emacs: Alt+D)

If possible, the key bindings of the category "Text Editing" should be used: changing the key of a text editing command like Line Up should also change the key of Line Up in Vex.
Comment 1 Florian Thienel CLA 2013-02-17 12:51:24 EST
Changeset 2089e33f60b471ca298f45ec360505b67796b46c
Comment 2 Holger Voormann CLA 2013-02-17 17:28:17 EST
Following 34 Text Editing commands have been implemented in Vex:

Go to and Select:
* Previous/Next Column (column in terms of character)
* Line Up/Down
* Previous/Next Word
* Line Start/End
* Page Up/Down
* Text Start/End (text in terms of document)

Delete: 
* Previous/Next (Character)
* Previous/Next Word
* Line
* To Beginning/End of Line

Cut:
* Line
* Delete to Beginning/End of Line


The shortcuts/keys of all these commands can be configured in "Window > Preferences > General > Keys".

Please note, "Set Mark", "Clear Mark" and "Swap Mark" are not yet implemented (see bug 401021).