Merge branch 'master' of https://dev.danilafe.com/DanilaFe/dotfiles
This commit is contained in:
commit
dbd151e0d6
49
nvim/.config/nvim/UltiSnips/tex.snippets
Normal file
49
nvim/.config/nvim/UltiSnips/tex.snippets
Normal 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
|
|
@ -5,11 +5,13 @@ Plug 'ncm2/ncm2' " For language client
|
|||
Plug 'autozimu/LanguageClient-neovim', {'branch': 'next', 'do': 'bash install.sh' }
|
||||
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --bin' }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'SirVer/ultisnips'
|
||||
Plug 'enomsg/vim-haskellConcealPlus'
|
||||
|
||||
" Languages
|
||||
Plug 'https://framagit.org/tyreunom/coquille.git'
|
||||
Plug 'lervag/vimtex'
|
||||
Plug 'idris-hackers/idris-vim'
|
||||
Plug 'rhysd/vim-crystal'
|
||||
Plug 'elmcast/elm-vim'
|
||||
Plug 'ap/vim-css-color'
|
||||
|
@ -20,7 +22,9 @@ Plug 'idris-hackers/idris-vim'
|
|||
Plug 'arcticicestudio/nord-vim'
|
||||
|
||||
" Editing Tools
|
||||
Plug 'junegunn/goyo.vim'
|
||||
Plug 'iamcco/markdown-preview.vim'
|
||||
Plug 'junegunn/limelight.vim'
|
||||
call plug#end()
|
||||
|
||||
set exrc " Execute local vimscripts
|
||||
|
@ -59,6 +63,12 @@ let g:LanguageClient_rootMarkers = {
|
|||
\ 'elm': ['elm.json'],
|
||||
\ }
|
||||
|
||||
let g:limelight_conceal_ctermfg = 8
|
||||
|
||||
let g:UltiSnipsExpandTrigger="<tab>"
|
||||
let g:UltiSnipsJumpForwardTrigger="<c-k>"
|
||||
let g:UltiSnipsJumpBackwardTrigger="<c-j>"
|
||||
|
||||
colorscheme nord
|
||||
nmap M :call LanguageClient#explainErrorAtPoint()<CR>
|
||||
nmap K :call LanguageClient_contextMenu()<CR>
|
||||
|
|
Loading…
Reference in New Issue
Block a user