Swap CAPSLOCK and ESC
This commit is contained in:
parent
58d7223925
commit
1c1c76b726
3
zshenv
3
zshenv
@ -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
3
zshrc
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user