the capslock key now acts as esc when tapped, and ctrl when held
This commit is contained in:
parent
e4fb8078f0
commit
d51d1551de
2 changed files with 6 additions and 1 deletions
5
.zshrc
5
.zshrc
|
@ -106,3 +106,8 @@ setopt share_history
|
|||
setopt list_types
|
||||
setopt mark_dirs
|
||||
setopt path_dirs
|
||||
|
||||
#Set caps to escape when tapped and ctrl when held
|
||||
setxkbmap -option 'caps:ctrl_modifier'
|
||||
xcape -e 'Caps_Lock=Escape'
|
||||
|
||||
|
|
2
init.sh
2
init.sh
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
#install pre-req.
|
||||
echo "installing required packages"
|
||||
sudo apt-get install tmux zsh vim powerline
|
||||
sudo apt-get install tmux zsh vim powerline xcape
|
||||
#remove existing configs, if they exist
|
||||
rm -ri ~/.tmux.conf
|
||||
rm -ri ~/.zsh-custom
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue