Created
October 18, 2018 03:12
-
-
Save mattosborn/9d12cb082726b4fa96cce88e6f4be321 to your computer and use it in GitHub Desktop.
vimcfg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autocmd Filetype html setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype typescript setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype tsx setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype javascript setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype json setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype css setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype scss setlocal ts=2 sts=2 sw=2 | |
autocmd Filetype sass setlocal ts=2 sts=2 sw=2 | |
set relativenumber | |
" nnoremap <ESC> :noh<CR><CR> | |
nnoremap <esc> :noh<return><esc> | |
nnoremap <esc>^[ <esc>^[ | |
colorscheme solarized8_light | |
let g:indent_guides_auto_colors = 0 | |
autocmd VimEnter,Colorscheme * :hi IndentGuidesOdd guibg=NONE ctermbg=3 | |
autocmd VimEnter,Colorscheme * :hi IndentGuidesEven guibg=#f7efd7 ctermbg=4 | |
let g:indent_guides_enable_on_vim_startup = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment