News for hackers. Stuff that matters.
Re:In Praise of AutoHotKey by ahaferburg on Wednesday May 13, 2020 @06:34PM (#23172610)
I use AHK to make CapsLock a custom modifier key, mostly to make VIM style movements available everywhere.

Caps+p Ctrl+Backspace Delete previous word Caps+f Backspace Caps+d Delete Caps+h/j/k/l Left/Down/Up/Right Arrow Caps+u/i Home/End Caps+m/, Page Down/Up Caps+e/r Ctrl+Left/Right (next/previous word) Caps+3 Insert current date, e. g. 14.05.20 Caps+Shift+3 ISO format 2020-05-14

I also swapped Return with ' so it's closer to my pinky. Not sure if that was worth it, though.

Re:In Praise of AutoHotKey by davebrny on Saturday May 16, 2020 @06:17AM (#23202200)
i do something similar using the appskey or printscreen key as a modifier so i so i only have to use my right hand. i used lp;' instead of the usual hjkl vim keys though.

  printscreen::
  thumbMod := true
  return
  
  printscreen up::
  thumbMod := false
  return
  
  
  #if thumbMod
  
  l::    send {left}      ; move caret
  `;::   send {down}
  p::    send {up}
  '::    send {right}
  
  +l::   send +{left}     ; select text
  +`;::  send +{down}
  +p::   send +{up}
  +'::   send +{right}
  
  ,:: send {backspace} 
  .:: send {delete}
  
  #if
Re:In Praise of AutoHotKey by ahaferburg on Thursday May 14, 2020 @07:15AM (#23178097)
My goodness, the formatting.

  Caps+p         Ctrl+Backspace (Delete previous word)
  Caps+f         Backspace
  Caps+d         Delete
  Caps+h/j/k/l   Left/Down/Up/Right arrow
  Caps+u/i       Home/End
  Caps+m/,       Page Down/Up
  Caps+e/r       Ctrl+Left/Right (next/previous word)
  Caps+3         Insert current date, e. g. 14.05.20
  Caps+Shift+3   ISO format 2020-05-14