gcmd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gcmd-dev] User configurable shortcuts


From: Michael
Subject: Re: [gcmd-dev] User configurable shortcuts
Date: Mon, 23 Apr 2007 01:00:50 +0200
User-agent: Alpenglühn 7.2


fck! It works now, this is rev 863 now.
You made it very clear we have to restart gcmd and so i always did - but let's 
forget it whatever it was. Here's the wonderful debug output 

[AA] [key-bindings]     <shift><control>f1=file.create_symlink
[AA] [key-bindings]     <control>f12=edit.filter
[AA] [key-bindings]     <alt>f3=file.external_view
[AA] [key-bindings]     <shift>f3=file.internal_view
[AA] [key-bindings]     <control>kp.5=plugins.execute_python|md5sum
[AA] [key-bindings]     <control>kp.subtract=mark.unselect_all
[AA] [key-bindings]     <control>kp.add=mark.select_all
[AA] [key-bindings]     <control>o=options.edit
[AA] [key-bindings]     <control>g=connections.ftp_quick_connect
[AA] [key-bindings]     <shift><control>f=connections.close
[AA] [key-bindings]     <control>d=bookmarks.edit
[AA] [key-bindings]     <shift><control>a=mark.unselect_all
[AA] [key-bindings]     <control>a=mark.select_all
[AA] [key-bindings]     <control>equal=mark.select_all
[AA] [key-bindings]     <control>5=plugins.execute_python|md5sum
[AA] [key-bindings]     <control>minus=mark.unselect_all
[AA] [key-bindings]     <shift><control>l=file.create_symlink
[AA] [key-bindings]     <control>r=file.advrename
[AA] [key-bindings]     <control>f=edit.search

('a' heh...very clever...for alphanumeric action, absolutely awesome.)

I guess the first part is default the second part is the user config.
As you can see, i changed the last three.
- Plugin shortcut is a straight thing. Does it need C code to add a shortcut to 
a custom plugin, or is it enough to specify the correct name ?
<control>9=plugins.execute_python|id3tag

The new keybindings are working correctly:

[AA] Key event:   (0xffe3)
[AA] Key event:  <control>f (0x66)
[AA] Handling key event by edit.search()
[AA] Key event:   (0xffe3)
[AA] Key event:  <control>r (0x72)
[AA] Handling key event by file.advrename()
[AA] Key event:   (0xffe3)
[AA] Key event:  <control> (0xffe1)
[AA] Key event:  <shift><control>l (0x4c)
[AA] Handling key event by file.create_symlink()

file.create_symlink() has two keybindings now, i suggest to call it a feature 
for people who work with different filemanagers, like me, and sometimes forget 
the difference between F9 and F8.

b.g.s.

micha




reply via email to

[Prev in Thread] Current Thread [Next in Thread]