Keyboard shortcuts and Alt key

General questions regarding the usage of CodeLite
ogee77
CodeLite Enthusiast
Posts: 22
Joined: Sat Mar 06, 2010 1:43 pm
Genuine User: Yes
IDE Question: C++
Contact:

Keyboard shortcuts and Alt key

Post by ogee77 » Mon Jan 02, 2012 12:21 am

Hi,

There is a small issue when defining a keyboard shortcut containing an Alt key.

I tried to redefine a copy shortcut from Ctrl+C to Alt+W to be more Emacs like.
However every time I hit Alt+W a Workspace tab appears...

Is it possible, you could add an option somewhere (say in Global Editor Preferences?) to turn off Alt behavior such that it would not trigger quick menu access?
Currently you cannot customize shortcuts that map to top menu tab names, i.e. Alt+F, Alt+E, Alt+S, Alt+W, Alt+B...

Best regards,
Pawel

User avatar
eranif
CodeLite Plugin
Posts: 6058
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Keyboard shortcuts and Alt key

Post by eranif » Mon Jan 02, 2012 12:40 am

ogee77 wrote: to turn off Alt behavior such that it would not trigger quick menu access?
I think its a windows thingi - you need to turn it off from windows

Eran
Make sure you have read the HOW TO POST thread

ogee77
CodeLite Enthusiast
Posts: 22
Joined: Sat Mar 06, 2010 1:43 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Keyboard shortcuts and Alt key

Post by ogee77 » Mon Jan 02, 2012 11:55 pm

You are wright, it's configurable at gtk level (at least for linux).
To turn off mnemonics it is necessary to edit/create file ~/.gtkrc-2.0 and add the following line:

gtk-enable-mnemonics = 0

Then relog for changes to take effect.

ogee77
CodeLite Enthusiast
Posts: 22
Joined: Sat Mar 06, 2010 1:43 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Keyboard shortcuts and Alt key

Post by ogee77 » Tue Jan 03, 2012 12:03 am

Eran is it possible to define a shortcut that would contain more than one 'common' letter, like Alt+X+U? The dialog within Keyboard shortcuts menu won't let me do it and only Alt+X goes in, without U.

User avatar
eranif
CodeLite Plugin
Posts: 6058
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Keyboard shortcuts and Alt key

Post by eranif » Tue Jan 03, 2012 12:47 am

I dont think that it is possible using wxWidgets

Eran
Make sure you have read the HOW TO POST thread

Post Reply