updated .vimrc

pull/2/head
Hari Sekhon 5 years ago
parent 65c74c541b
commit e32af7f939

@ -151,7 +151,7 @@ if has("autocmd")
au BufNew,BufRead *.rb nmap ;l :w<CR>:!clear; ruby -c "%"<CR> au BufNew,BufRead *.rb nmap ;l :w<CR>:!clear; ruby -c "%"<CR>
au BufNew,BufRead *.go nmap ;l :w<CR>:!gofmt -w "%" && go build "%"<CR> au BufNew,BufRead *.go nmap ;l :w<CR>:!gofmt -w "%" && go build "%"<CR>
" TODO: groovy/java CLI linters " TODO: groovy/java CLI linters
"au BufNew,BufRead *.gsh nmap ;l :w<CR>:!groovy %<CR> au BufNew,BufRead *.gsh nmap ;l :w<CR>:!groovyc "%"<CR>
au BufNew,BufRead .bash*,*.sh,*.ksh nmap ;l :w<CR>:!clear; shellcheck -Calways "%" \| more -R<CR> au BufNew,BufRead .bash*,*.sh,*.ksh nmap ;l :w<CR>:!clear; shellcheck -Calways "%" \| more -R<CR>
" for scripts that don't end in .sh like Google Cloud Shell's .customize_environment " for scripts that don't end in .sh like Google Cloud Shell's .customize_environment

Loading…
Cancel
Save