Auto-disable Caps Lock on Ubuntu, go-vim setup

This commit is contained in:
Rob Watson 2020-10-19 09:18:09 +02:00
parent fc6fd5d759
commit bb61c31034
2 changed files with 3 additions and 6 deletions

4
vimrc
View File

@ -87,9 +87,7 @@ let g:rustfmt_autosave = 1
" vim-go configuration:
let g:go_fmt_command = "goimports"
" vim-terraform configuration:
let g:terraform_fmt_on_save=1
autocmd BufNewFile,BufRead *.gohtml set syntax=gohtmltmpl
" vim-rails configuration:
let g:rails_projections = {

5
zshrc
View File

@ -140,6 +140,5 @@ if [ $(tty) = "/dev/tty1" ]; then
startx
fi
# Automatically added by terraform (vim bundle?):
autoload -U +X bashcompinit && bashcompinit
complete -o nospace -C /home/rob/bin/terraform terraform
# For Ubuntu, disable Caps-Lock:
setxkbmap -option caps:none