System based key bindings / emacs bindings

Bug #404791 reported by rob
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PyRoom
Confirmed
Wishlist
Unassigned

Bug Description

(I am new to launchpad, this should be an enhancement request not a bug, sorry if I misfiled)

using gconf-editor one can set the bindings for gnome to either "Default" or "Emacs". I happen to really like the emacs bindings for my system:

ctrl+n = down one line
ctrl+p = up one line
ctrl+f = forward one char
ctrl+b = back one char
ctrl+e = go to the end of the line
ctrl+a = go to the begining of the line
ctrl+d = delete the char in front of the cursor

Needless to say, it makes using pyroom difficult because every time I try to go down a line it makes a new document, etc :-/

Anyway, when I set the bindings up for gnome they work correctly in almost all the applications in gnome, but not in pyroom - this is pyroom 0.3.2 so it's not the latest and may have been fixed already.

Is there a way to tie pyroom into the gnome system to use whatever the user has chosen as the binding style?

Cheers

(btw, I love the app aside from this)

Revision history for this message
rob (robrohan) wrote :

I've subscribed to the PPA and updated to 0.4 (wow, it looks awesome. I love the themes!)

Using Emacs bindings in 0.4 work well aside from ctrl+p, ctrl+n, and ctrl+h.

ctrl+b = back = ok
ctrl+f = forwards = ok
ctrl+e = end of line = ok
ctrl+a = start of line = ok
ctrl+h = delete char behind cursor = help screen
ctrl+d = delete char in front of cursor = ok
ctrl+n = next line = new document
ctrl+p = previous line = preference pane

If I can figure out how to checkout the code and figure out the code it self, I'll try to submit a patch

Revision history for this message
Florian Heinle (tiax) wrote :

Hi,

ctrl+p (preferences) ctrl+n (new document) and ctrl+h (help window) are default keybindings already in use by PyRoom features.

While offering configurable key bindings would make PyRoom configuration much less simple, we could add that option with a plugin.

Changed in pyroom:
status: New → Confirmed
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.