|
From: Rich S. <se...@us...> - 2011-01-28 23:44:15
|
Thank you very much for the offer! Unfortunately for me in this case, I'm running Kubuntu (Linux), so I won't be able to take advantage of that utility. I've been wanting to try remapping jEdit's keys for a while, and finally, for whatever reason, I found the motivation to do it. It's looking like the block commands in particular don't have matching features in jEdit, so to do this right, I might have to get into some scripting. --Rich On Friday, January 28, 2011 06:16:21 pm maxwell wrote: > On Fri, 28 Jan 2011 17:21:12 -0500, Rich Sezov > <se...@us...> wrote: > > I should mention that I'm the > > only weird one who wants WordStar commands, but I want to make it easy > to > > configure this for every machine I use. > > Years ago, someone whose name I've long since lost came out with a small C > program that redefined keystrokes in MsWindows. He called it "Diamond", > and indeed as it came, the Wordstar diamond was hard-coded into the > program. Fortunately, it wasn't difficult to modify for my vi-style > commands (^H = left cursor, ^J = down cursor etc.), and I've used it ever > since. It works with almost all programs (it doesn't seem to work with the > current Windows command prompt). The only problem is that the control key > state sometimes (rarely) gets stuck down, so that the next alphabetic > character I type gets interpreted as a control key. (The state of the > control key gets stuck, not the physical key; tapping the control key fixes > it.) > > The program also has a toggle mechanism, so that ^Q puts the cursor into > select mode (like typing shift-cursor), and ^C (copy) or ^X (cut), as well > as another ^Q, takes you out of select mode. I can reproduce most of the > cursor movements in X-windows under Linux, but I cannot reproduce this > toggling mode. I would love to know how to do that... > > So if you're interested in having the ability to redefine control > keystrokes as cursor movement in *all* your programs in Windows (not just > jEdit), I can send you the C code. > > Mike Maxwell > ma...@um... > -- Rich Sezov Blog: http://www.liferay.com/web/richard.sezov/blog Twitter: http://twitter.com/sez11a |