.key file wont load

14 views
Skip to first unread message

Dominic Tarr

unread,
Feb 13, 2012, 10:37:35 PM2/13/12
to niceeditor
hi,

I am not able to reconfigure keys.

ive added

KEY 2c PrevWord
KEY 2e NextWord

to my key file (CTRL-, and CTRL-.)

and restarted ne (also tried load auto prefs from the prefs. menu, and
starting ne with --keys ~/.ne/.keys)

however, typing CTRL-, just adds a comma character. I seem to have
followed all the documentation. what am I doing wrong?

I installed ne from the ubuntu 11 registry last week. About tells me
ne is version 2.2

cheers, Dominic

utoddl

unread,
Feb 14, 2012, 9:50:40 AM2/14/12
to nicee...@googlegroups.com
The problem is, there is no "CTRL-," or "CTRL-." codes. Hex codes 2c and 2e are plain old comma and period. There's no way for ne to know that you had the control key pressed when you hit the comma or period keys.

If you fire up ne and invoke the "KeyCode" command (^k then "KeyCode" or "kc" and hit enter), you'll be prompted thus:
Press a key to see ne's corresponding key code:
If you then hit Ctrl-, for instance, you'll see:
Key Code: 0x2c,  Input Class: ALPHA,  Assigned Command: (none)
Key codes with "Input class: ALPHA" cannot be reassigned. If you somehow did reassign those codes, you would no longer have comma or period keys.

On my machine, Alt-, and Alt-. (1ac and 1ae, respectively) are both "Input Class: COMMAND" (i.e. you can assign them in your .key file) and "Assigned Command: (none)" (i.e. they aren't currently mapped to anything).

Hope that helps.

utoddl

unread,
Feb 14, 2012, 10:03:19 AM2/14/12
to nicee...@googlegroups.com
Note that F7 and F8 are already mapped to PrevWord and NextWord.

Dominic Tarr

unread,
Feb 14, 2012, 8:59:57 PM2/14/12
to nicee...@googlegroups.com
ah, i see.

CTRL-, doesn't work, but ALT-, does.

thanks.
Reply all
Reply to author
Forward
0 new messages