gedit custom shortcuts

Asked by thorstenmz

Hi all,

I desperately want to add custom keyboard shortcuts to gedit. Is there a way to do this?

Example: I'd like to replace this terrible <alt>+number for tab switching by <ctrl>+<tab> or <alt>+arrow keys.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gedit Edit question
Assignee:
No assignee Edit question
Solved by:
thorstenmz
Solved:
Last query:
Last reply:
Revision history for this message
Curtis Hovey (sinzui) said :
#1

This is pretty hard because tab switching comes from the GNOME desktop, not gedit. It does not have any rules for switching tabs, There are two plugins that I have not tried that claim to change the tab switching keys in the editor.

Visit http://live.gnome.org/Gedit/Plugins and look at TabSwitch and TabPgUpDown.

Revision history for this message
thorstenmz (th-guenther) said :
#2

Thanks a lot for your input, Curtis!

Meanwhile, I found out:

1.
I can switch between tabs using <ctrl>+<alt>+PgUp/PgDown by default.

2.
There is a plugin available named EditShortcuts: http://empty.23inch.de/pmwiki.php/Main/EditShortcuts
I tried it. It lets you edit some - but not all - of the shortcuts. Neat nontheless.

3.
I still wasn't able to define a keyboard shortcut for toggling word wrap. Then I found this plugin: http://hartmann-it-design.de/gedit/TextWrap/
I installed it and it works for me.

Looking for plugins seems exceedingly laborious to me. I'll add a request for a 'customize shortcuts' dialog to the wish list eventually. (medit has one.)

Revision history for this message
Gilles Degottex (gilles-degottex) said :
#3

Is there any way to edit ANY shortcut in gedit ??

Coders have their habits, should be easier to change the shortcuts than their habits...