From: Daniel Liu Date: Thu, 3 Jun 2021 03:53:46 +0000 (-0400) Subject: update vimrc X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=c87873aa1c05f669f18d3d685b1f0a2ade2ed13b;p=dotfiles.git update vimrc --- diff --git a/.vim/mysnippets/tex.snippets b/.vim/mysnippets/tex.snippets index a6f8826..292727a 100644 --- a/.vim/mysnippets/tex.snippets +++ b/.vim/mysnippets/tex.snippets @@ -230,6 +230,30 @@ snippet nullity "Nullity" w \text{Nullity}($0) endsnippet +snippet tab "Tabular" w +\begin{center} +\begin{tabular}{$1} +\hline +$0 +\hline + +\hline +\end{tabular} +\end{center} +endsnippet + +snippet mtab "Math Tabular" w +\begin{align*} +\begin{array}{$1} +\hline +$0 +\hline + +\hline +\end{array} +\end{align*} +endsnippet + snippet eea "Extended Euclidian Algorithm" w \begin{center} \begin{tabular}{|c|c|c|c|} diff --git a/.vimrc b/.vimrc index 0cb4acd..29ceed1 100644 --- a/.vimrc +++ b/.vimrc @@ -53,13 +53,12 @@ set foldnestmax=10 set nofoldenable set foldlevel=2 - " View whitespace map s :set list! set listchars=tab:▸\ ,space:·,eol:¬ " reload vimrc -map r :source ~/.vimrc +map r :source ~/.vimrc:echo "vimrc reloaded" " statusline function! StatusModeColor() @@ -136,9 +135,7 @@ Plug 'PietroPate/vim-tex-conceal' Plug 'jiangmiao/auto-pairs' Plug 'tpope/vim-commentary' Plug 'rlue/vim-barbaric' -Plug 'jeffkreeftmeijer/vim-dim' -" Plug 'ptzz/lf.vim' -" Plug 'voldikss/vim-floaterm' +Plug 'ap/vim-css-color' call plug#end() @@ -151,7 +148,7 @@ let g:UltiSnipsJumpForwardTrigger = '' let g:UltiSnipsJumpBackwardTrigger = '' let g:UltiSnipsSnippetDirectories=["UltiSnips", "mysnippets"] -map sr :call UltiSnips#RefreshSnippets() +map sr :call UltiSnips#RefreshSnippets():echo "Refreshed Snippets" " Vimtex let g:tex_flavor='latex' @@ -193,10 +190,10 @@ hi Question ctermfg=2 hi Title ctermfg=5 hi WarningMsg ctermfg=1 hi WildMenu ctermfg=0 ctermbg=11 -hi Conceal ctermfg=0 -hi SpellBad ctermbg=9 ctermbg=0 cterm=underline -hi SpellRare ctermbg=13 -hi SpellLocal ctermbg=14 +hi Conceal ctermbg=0 +hi SpellBad ctermfg=9 ctermbg=0 cterm=underline +hi SpellRare ctermbg=13 ctermbg=0 cterm=underline +hi SpellLocal ctermfg=14 ctermbg=0 cterm=underline hi PmenuSbar ctermbg=8 hi PmenuThumb ctermbg=0 hi TabLine cterm=underline ctermfg=0 ctermbg=7 @@ -204,7 +201,7 @@ hi TabLineSel cterm=bold hi TabLineFill cterm=reverse hi CursorColumn ctermbg=7 hi CursorLine cterm=underline -hi MatchParen ctermbg=14 +hi MatchParen cterm=NONE ctermfg=0 ctermbg=14 hi Constant ctermfg=1 hi Special ctermfg=5 hi Identifier cterm=NONE ctermfg=6