Skip to content

Instantly share code, notes, and snippets.

@dmi3mis
Forked from dragonken/.vimrc
Last active February 19, 2021 20:35
Show Gist options
  • Select an option

  • Save dmi3mis/756ee5d8def5d9608bf6e2f9ba809da0 to your computer and use it in GitHub Desktop.

Select an option

Save dmi3mis/756ee5d8def5d9608bf6e2f9ba809da0 to your computer and use it in GitHub Desktop.
YAML space indent for vim
syntax on
filetype plugin indent on
"Get the 2-space YAML as the default when hit carriage return after the colon
autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab
cat .vimrc
if &diff
colorscheme mycolorscheme.vim
endif
cat ~/.vim/colors/mycolorscheme.vim
highlight DiffAdd cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffDelete cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffChange cterm=bold ctermfg=10 ctermbg=17 gui=none guifg=bg guibg=Red
highlight DiffText cterm=bold ctermfg=10 ctermbg=88 gui=none guifg=bg guibg=Red
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment