From b3f6e5b09be3d5fd6f97651ba5a971896f3a9c72 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Fri, 31 Aug 2018 13:43:14 -0400 Subject: [PATCH] Update .vimrc --- vim/.vim/colors.vim | 3 +++ vim/.vim/keybindings.vim | 4 ++++ vim/.vimrc | 11 +++++++++++ 3 files changed, 18 insertions(+) diff --git a/vim/.vim/colors.vim b/vim/.vim/colors.vim index 958c16b2..b1dfd28c 100644 --- a/vim/.vim/colors.vim +++ b/vim/.vim/colors.vim @@ -269,5 +269,8 @@ hi GitGutterDelete ctermbg=none " Remove functions delf hi +" Hide the tilde (~) from empty files +highlight EndOfBuffer ctermfg=0 + " Remove color variables unlet s:cterm00 s:cterm01 s:cterm02 s:cterm03 s:cterm04 s:cterm05 s:cterm06 s:cterm07 s:cterm08 s:cterm09 s:cterm0A s:cterm0B s:cterm0C s:cterm0D s:cterm0E s:cterm0F diff --git a/vim/.vim/keybindings.vim b/vim/.vim/keybindings.vim index 88efbe80..8f8cd4b8 100644 --- a/vim/.vim/keybindings.vim +++ b/vim/.vim/keybindings.vim @@ -45,3 +45,7 @@ autocmd FileType css nnoremap b :call CSSBeautify() nnoremap 2 :PencilSoft:Goyo:hi vertsplit ctermfg=8 ctermbg=none nnoremap 3 :mksession! ~/.vim_session nnoremap 4 :source ~/.vim_session + +" Close the current buffer without closing the window +" Useful for when you want to close a buffer with VimFiler open +nnoremap 5 :bpspbnbd diff --git a/vim/.vimrc b/vim/.vimrc index 53defa86..6b15a4c4 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -141,3 +141,14 @@ autocmd BufNewFile,BufRead *.md set conceallevel=2 " Change cursor back to blink after exiting neovim au VimLeave * set guicursor=a:block-blinkon1 + +" Only hide the dots we don't need +let g:vimfiler_ignore_pattern = ['^\.git$', '^\.shards$', '^\.sass-cache$'] + +" Only use standard for JavaScript +let g:ale_linters = {'javascript': ['standard']} + +" Ignore syntax concealing for markdown files +let g:vim_markdown_conceal = 0 +let g:tex_conceal = "" +let g:vim_markdown_math = 1