feat: caps lock key configuration
Esc on press, ctrl on hold.
This commit is contained in:
parent
342ea10202
commit
bf3d81656d
3 changed files with 23 additions and 9 deletions
|
@ -5,12 +5,6 @@
|
|||
dotDir = ".config/zsh";
|
||||
|
||||
initExtra = ''
|
||||
# Make Caps Lock behave like Ctrl.
|
||||
setxkbmap -option ctrl:nocaps
|
||||
|
||||
# Make short-pressed Ctrl behave like Escape.
|
||||
xcape -e 'Control_L=Escape'
|
||||
|
||||
# Plugins
|
||||
source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/git/git.plugin.zsh"
|
||||
source "''${ZPLUG_REPOS}/robbyrussell/oh-my-zsh/plugins/vi-mode/vi-mode.plugin.zsh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue