diff --git a/.vimrc b/.vimrc index a4bdc73..4354793 100644 --- a/.vimrc +++ b/.vimrc @@ -42,3 +42,8 @@ autocmd FileType perl syntax on autocmd FileType go set sw=8 autocmd FileType go set tw=79 autocmd FileType go set noexpandtab + +autocmd BufRead,BufNewFile *.ts set filetype=javascript +autocmd FileType javascript set sw=2 + +autocmd FileType html set sw=2 diff --git a/.zshrc b/.zshrc index d3fdc2d..0c0f63b 100644 --- a/.zshrc +++ b/.zshrc @@ -28,7 +28,7 @@ then alias ack=$ack fi alias darkbg='xtermcontrol --bg "#000" --fg "#FFF" --highlight="#00F"; export BG=dark' -alias lightbg='xtermcontrol --bg "#EEE" --fg "#000" --highlight="#0FF"; export BG=light' +alias lightbg='xtermcontrol --bg "#F0F0F0" --fg "#000" --highlight="#0FF"; export BG=light' alias defaultbg='. ~/.zxtermcolors' alias ag='ag --color-path "34;47"'