mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-08 01:14:01 +01:00
Update .vimrc
This commit is contained in:
parent
37290d60bc
commit
b3f6e5b09b
@ -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
|
||||
|
@ -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>
|
||||
|
11
vim/.vimrc
11
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
|
||||
|
Loading…
Reference in New Issue
Block a user