From 1140d75d724ffb281c05d31fe06e8b487d9e87d8 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 6 Sep 2018 13:25:36 +0300 Subject: [PATCH] profile: embrace Colemak (caps to backspace) --- rc/profile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc/profile b/rc/profile index 180f5403..fc7d1cbd 100644 --- a/rc/profile +++ b/rc/profile @@ -7,8 +7,9 @@ if hash ruby 2>/dev/null; then fi # Set compose to menu, kill X with ctrl-alt-backspace, -# disable nbsp (still available with compose-space-space. -setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none +# disable nbsp (still available with compose-space-space, +# make Caps Lock a backspace (Colemak) +setxkbmap -option compose:menu -option terminate:ctrl_alt_bksp -option nbsp:none -option caps:backspace # Removes duplicates from $PATH. Copied from http://unix.stackexchange.com/a/14896 PATH=$(echo "$PATH" | awk -v RS=':' -v ORS=":" '!a[$1]++{if (NR > 1) printf ORS; printf $a[$1]}')