Skip to content

Instantly share code, notes, and snippets.

@edwardrf
Last active March 31, 2021 05:53
Show Gist options
  • Select an option

  • Save edwardrf/a7e8c170571730312d2e to your computer and use it in GitHub Desktop.

Select an option

Save edwardrf/a7e8c170571730312d2e to your computer and use it in GitHub Desktop.

Revisions

  1. edwardrf revised this gist Nov 5, 2014. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,4 @@
    #!/bin/bash
    xmodmap -e "clear lock"
    xmodmap -e "keysym Caps_Lock = Mode_switch Mode_switch"
    xmodmap -e "keysym i = i I Up Up"
    @@ -6,3 +7,5 @@ xmodmap -e "keysym j = j J Left Left"
    xmodmap -e "keysym l = l L Right Right"
    xmodmap -e "keysym u = u U Home Home"
    xmodmap -e "keysym o = o O End End"
    xmodmap -e "keysym u = y Y Prior Prior"
    xmodmap -e "keysym o = h H Next Next"
  2. edwardrf created this gist Oct 12, 2014.
    8 changes: 8 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    xmodmap -e "clear lock"
    xmodmap -e "keysym Caps_Lock = Mode_switch Mode_switch"
    xmodmap -e "keysym i = i I Up Up"
    xmodmap -e "keysym k = k K Down Down"
    xmodmap -e "keysym j = j J Left Left"
    xmodmap -e "keysym l = l L Right Right"
    xmodmap -e "keysym u = u U Home Home"
    xmodmap -e "keysym o = o O End End"