Skip to content

Commit

Permalink
global vi/m movement keys 🔑
Browse files Browse the repository at this point in the history
  • Loading branch information
xero committed Sep 4, 2015
1 parent 8cafc90 commit ca99575
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 81 deletions.
78 changes: 0 additions & 78 deletions awesome/.xinitrc

This file was deleted.

6 changes: 3 additions & 3 deletions herbstluftwm/.xinitrc
Expand Up @@ -18,13 +18,13 @@

# merge custom x resources
xrdb -merge "${HOME}/.Xdefaults" &

# custom keymappings
+xmodmap ~/.xmodmap

# start the terminal emulator daemon
urxvtd -q -f -o &

# keyring
gnome-keyring-daemon &

# wifi
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
(sleep 2s && nm-applet --sm-disable) &
Expand Down
30 changes: 30 additions & 0 deletions xmodmap/.xmodmap
@@ -0,0 +1,30 @@
! ██
! ░██
! ██ ██ ██████████ ██████ ░██ ██████████ ██████ ██████
! ░░██ ██ ░░██░░██░░██ ██░░░░██ ██████░░██░░██░░██ ░░░░░░██ ░██░░░██
! ░░███ ░██ ░██ ░██░██ ░██ ██░░░██ ░██ ░██ ░██ ███████ ░██ ░██
! ██░██ ░██ ░██ ░██░██ ░██░██ ░██ ░██ ░██ ░██ ██░░░░██ ░██████
! ██ ░░██ ███ ░██ ░██░░██████ ░░██████ ███ ░██ ░██░░████████░██░░░
! ░░ ░░ ░░░ ░░ ░░ ░░░░░░ ░░░░░░ ░░░ ░░ ░░ ░░░░░░░░ ░██
! ░░
! ▓▓▓▓▓▓▓▓▓▓
! ░▓ author ▓ xero <x@xero.nu>
! ░▓ code ▓ http://code.xero.nu/dotfiles
! ░▓ mirror ▓ http://git.io/.files
! ░▓▓▓▓▓▓▓▓▓▓
! ░░░░░░░░░░
!
!█▓▒░ remove caps lock
clear lock
remove Lock = Caps_Lock
remove Shift = Caps_Lock

!█▓▒░ add mode switch
keycode 66 = NoSymbol NoSymbol
keycode 66 = Mode_switch

!█▓▒░ set vi movments
keysym h = h H Left NoSymbol NoSymbol NoSymbol
keysym j = j J Down NoSymbol NoSymbol NoSymbol
keysym k = k K Up NoSymbol NoSymbol NoSymbol
keysym l = l L Right NoSymbol lstroke Lstroke

0 comments on commit ca99575

Please sign in to comment.