This commit is contained in:
Danila Fedorin 2020-05-06 00:42:41 -07:00
commit 7282a1aa83
2 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1,49 @@
snippet eq
\begin{equation*}
$1
\end{equation*}
endsnippet
snippet al
\begin{aligned}
$1
\end{aligned}
endsnippet
snippet fr
\frac{$1}{$2}
endsnippet
snippet sec
\section*{$1}
endsnippet
snippet ssec
\subsection*{$1}
endsnippet
snippet alist
\begin{enumerate}[label=\alph*)]
$1
\end{enumerate}
endsnippet
snippet li
\item
endsnippet
snippet sum
\sum_{$1}^{$2} $3
endsnippet
snippet rel
\text{Rel}($1)
endsnippet
snippet a
\alpha
endsnippet
snippet e
\epsilon
endsnippet

View File

@ -4,9 +4,11 @@ Plug 'ncm2/ncm2'
Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'bash install.sh' } Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'bash install.sh' }
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' } Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
Plug 'junegunn/fzf.vim' Plug 'junegunn/fzf.vim'
Plug 'SirVer/ultisnips'
Plug 'enomsg/vim-haskellConcealPlus' Plug 'enomsg/vim-haskellConcealPlus'
Plug 'lervag/vimtex' Plug 'lervag/vimtex'
Plug 'idris-hackers/idris-vim'
Plug 'rhysd/vim-crystal' Plug 'rhysd/vim-crystal'
Plug 'elmcast/elm-vim' Plug 'elmcast/elm-vim'
Plug 'ap/vim-css-color' Plug 'ap/vim-css-color'
@ -55,6 +57,10 @@ let g:LanguageClient_rootMarkers = {
let g:limelight_conceal_ctermfg = 8 let g:limelight_conceal_ctermfg = 8
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<c-k>"
let g:UltiSnipsJumpBackwardTrigger="<c-j>"
colorscheme nord colorscheme nord
nmap K :call LanguageClient_contextMenu()<CR> nmap K :call LanguageClient_contextMenu()<CR>
nmap ? :call LanguageClient_textDocument_hover()<CR> nmap ? :call LanguageClient_textDocument_hover()<CR>