Skip to content

Instantly share code, notes, and snippets.

@hehuan2112
Last active June 13, 2024 12:08
Show Gist options
  • Save hehuan2112/544028286990e870da1a2ad8269cafae to your computer and use it in GitHub Desktop.
Save hehuan2112/544028286990e870da1a2ad8269cafae to your computer and use it in GitHub Desktop.
CAPS + HJKL for global cursor movement on Linux
keycode 66 = Mode_switch
keysym h = h H Left
keysym l = l L Right
keysym k = k K Up
keysym j = j J Down
keysym u = u U Page_Up
keysym m = m M Home
keysym semicolon = semicolon colon End
keysym n = n N Page_Down
! to enable this file, just run xmodmap ~/.xmodmap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment