Author Topic: HHKB homerow cursor keys imitation, with autohotkey  (Read 5198 times)

0 Members and 1 Guest are viewing this topic.

Offline urlwolf

  • Thread Starter
  • Posts: 107
HHKB homerow cursor keys imitation, with autohotkey
« on: Mon, 14 September 2009, 11:34:56 »
This is not rocket science, but just in case it's useful for anyone else...

You can have an HHKB homerow cursor keys imitation, with autohotkey; I'm using the right shift key as the fn key (I don't use it much; you can map right windows, or any other) and vim movement keys.

Just save this in a text file, with ahk extension, and double-click on it to execute:

; happy hacking imitation, vim style hjkl
~RShift & h::Send {left}
~RShift & l::Send {right}
~RShift & k::Send {up}
~RShift & j::Send {down}

PS: I don't have a HHKB, I'm just guessing how cursor keys work on it...
keyboards: Cherry G80-3494- cherry reds | filco majestytouch - cherry browns | kinesis contour - cherry browns | cherry G80 - 1800 cherry blacks.
mice: filco touchpad | logitech G9x | wowpen joy | kensington orbit trackball | zalman fpsgun | intellimouse v1 | logitech rx1500

Offline ironcoder

  • Posts: 559
HHKB homerow cursor keys imitation, with autohotkey
« Reply #1 on: Mon, 14 September 2009, 11:54:27 »
Now if we could only get those lavender arrow keys in the proper Vi locations!
In the office: Filco 87 Cherry Browns x 2 (one with coffee damage, recovered) ● Lexmark IBM Model M 52G9658 1993 & 1996

Offline itlnstln

  • Posts: 7048
HHKB homerow cursor keys imitation, with autohotkey
« Reply #2 on: Mon, 14 September 2009, 11:55:49 »
There is also this.


Offline AndrewZorn

  • Posts: 1086
HHKB homerow cursor keys imitation, with autohotkey
« Reply #3 on: Mon, 14 September 2009, 15:44:18 »
Quote from: urlwolf;117772
PS: I don't have a HHKB, I'm just guessing how cursor keys work on it...

I wish, but instead it uses [ o ' / (up left right down).

Offline urlwolf

  • Thread Starter
  • Posts: 107
HHKB homerow cursor keys imitation, with autohotkey
« Reply #4 on: Mon, 14 September 2009, 16:02:39 »
btw, I'm just guessing but it seems that combo keypresses (e.g., ctrl + something) make me press the keys harder. If this is true, then the less combo keypresses I do, the better. Moving makes for a lot of keystrokes.

I think one advantage that vim people claim over emacs people is that it's more ergonomic to do one single keypress than the chords emacs needs.

Do people with HHKB get more tired moving the cursor around? How about 'select' operations (e.g., shift plus arrows)?
keyboards: Cherry G80-3494- cherry reds | filco majestytouch - cherry browns | kinesis contour - cherry browns | cherry G80 - 1800 cherry blacks.
mice: filco touchpad | logitech G9x | wowpen joy | kensington orbit trackball | zalman fpsgun | intellimouse v1 | logitech rx1500

Offline o2dazone

  • Posts: 953
HHKB homerow cursor keys imitation, with autohotkey
« Reply #5 on: Tue, 15 September 2009, 21:43:19 »
Quote from: ironcoder;117785
Now if we could only get those lavender arrow keys in the proper Vi locations!


I kind of laughed at work when I was turned onto Vi. There's all these shortcuts (jkh and l) for navigating through the file. Looks as though people like keeping their hands in one place

Offline ironcoder

  • Posts: 559
HHKB homerow cursor keys imitation, with autohotkey
« Reply #6 on: Wed, 16 September 2009, 03:14:13 »
If you think that's funny you ought to try the Emacs operating system. I'll never understand why Unicomp thinks swapping caps lock and ctrl keys is a "Linux" keyboard layout. If you don't have the control keys where they used to be on VT100s you'll cripple yourself after using Emacs for 5 minutes.

Yeah, actually Vi is about reducing hand movement. It's pretty ingenious. I prefer Emacs most of the time but Vi does have its benefits (it boots a lot quicker!)

Btw those photos linked under your sig are outstanding, the 2nd one looks like it would be tremendous wallpaper. Great work.
In the office: Filco 87 Cherry Browns x 2 (one with coffee damage, recovered) ● Lexmark IBM Model M 52G9658 1993 & 1996

Offline Shawn Stanford

  • Posts: 368
HHKB homerow cursor keys imitation, with autohotkey
« Reply #7 on: Wed, 16 September 2009, 06:57:22 »
Hmm... I might give this a try with the WASD keys.
The Brat Prince of COBOL

Offline AndrewZorn

  • Posts: 1086
HHKB homerow cursor keys imitation, with autohotkey
« Reply #8 on: Wed, 16 September 2009, 10:03:04 »
i think ESDF would be even better.
WASD feel without moving hands.