Swap CAPSLOCK and ESC

This commit is contained in:
Daniel Lynn 2022-03-15 15:49:41 -05:00
parent 58d7223925
commit 1c1c76b726
Signed by: daniel
GPG Key ID: 28496A140E180A9D
2 changed files with 3 additions and 3 deletions

3
zshenv
View File

@ -8,9 +8,6 @@ fpath+=(~/.zsh/completions)
# Setup cargo
[[ -s ~/.cargo/env ]] && source ~/.cargo/env
# Source machine-specific environment
[[ -s ~/.zshenv.local ]] && source ~/.zshenv.local
# Local gems
if (( $+commands[ruby] )); then
local gem_bin_path="$(ruby -r rubygems -e 'puts Gem.user_dir')/bin"

3
zshrc
View File

@ -1,6 +1,9 @@
# Option adjustments
unsetopt nomatch
# Swap CAPSLOCK and ESC
setxkbmap -option caps:swapescape
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.