Update .vimrc

This commit is contained in:
Donovan Glover 2018-08-31 13:43:14 -04:00
parent 37290d60bc
commit b3f6e5b09b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 18 additions and 0 deletions

View File

@ -269,5 +269,8 @@ hi GitGutterDelete ctermbg=none
" Remove functions
delf <sid>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

View File

@ -45,3 +45,7 @@ autocmd FileType css nnoremap <silent> <leader>b :call CSSBeautify()<CR>
nnoremap <silent> <leader>2 :PencilSoft<CR>:Goyo<CR>:hi vertsplit ctermfg=8 ctermbg=none<CR>
nnoremap <silent> <leader>3 :mksession! ~/.vim_session<CR>
nnoremap <silent> <leader>4 :source ~/.vim_session<CR>
" Close the current buffer without closing the window
" Useful for when you want to close a buffer with VimFiler open
nnoremap <silent> <leader>5 :bp<bar>sp<bar>bn<bar>bd<CR>

View File

@ -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