xfree tip -- vim will thank you
> cat .xinitrc | grep xmodmap
- xmodmap to turn caps lock into another shift key
xmodmap -e “remove Lock = Caps_Lock”
xmodmap -e “remove Shift = Shift_L”
xmodmap -e “keysym Shift_L = Caps_Lock”
xmodmap -e “keysym Caps_Lock = Shift_L”
xmodmap -e “add Lock = Caps_Lock”
xmodmap -e “add Shift = Shift_L”
Why? Because this is damned annoying:
E492: Not an editor command: WQ
Unless of course, you’ve modded your computer to use an Underwood typewriter as a keyboard.
Similar to this snippet from my .bashrc ;)
- Silly aliases that actually help
alias :q!=“exit”
alias :wq=“exit”
alias :q=“exit”