Merge remote-tracking branch 'Jidbo/master'
This commit is contained in:
commit
1fe3508072
4 changed files with 56 additions and 8 deletions
|
@ -2,3 +2,7 @@ extends html
|
||||||
snippet ref "Markdown Link"
|
snippet ref "Markdown Link"
|
||||||
[$1]({${2:https://$3}${4: "$5"})$0
|
[$1]({${2:https://$3}${4: "$5"})$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet cod "Code Block"
|
||||||
|
\`$1\`$0
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -38,6 +38,14 @@ snippet sum "Sum character"
|
||||||
\sum_\{${1:lower}\}^\{${2:upper}\} $0
|
\sum_\{${1:lower}\}^\{${2:upper}\} $0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet int "integral character"
|
||||||
|
\int_\{${1:lower}\}^\{${2:upper}\} $0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet dx "dx sign" i
|
||||||
|
\mathrm{d}x$0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet ^ "Superscript" i
|
snippet ^ "Superscript" i
|
||||||
^{$1}$0
|
^{$1}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
@ -60,6 +68,12 @@ snippet beg "Begin"
|
||||||
\end{$1}
|
\end{$1}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet ali "align"
|
||||||
|
\begin{align*}
|
||||||
|
$0
|
||||||
|
\end{align*}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet sec "Section"
|
snippet sec "Section"
|
||||||
\section{$1}
|
\section{$1}
|
||||||
$0
|
$0
|
||||||
|
@ -70,10 +84,14 @@ snippet secs "Subsection"
|
||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet fat "Emphasize Text"
|
snippet emp "Emphasize Text"
|
||||||
\emph{$1}$0
|
\emph{$1}$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet fat "Fat Print Text"
|
||||||
|
\textbf{$1}$0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
snippet secss "Subsubsection"
|
snippet secss "Subsubsection"
|
||||||
\subsubsection{$1}
|
\subsubsection{$1}
|
||||||
$0
|
$0
|
||||||
|
@ -99,3 +117,21 @@ $0
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
# Sqeuenzkalküle
|
||||||
|
|
||||||
|
snippet axi "Axiome"
|
||||||
|
\AxiomC{\$ $1 \$}$0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet rla "Right Label"
|
||||||
|
\RightLabel{\$ $1 \$}$0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet uin "Unary Inf"
|
||||||
|
\UnaryInfC{\$ $1 \$}$0
|
||||||
|
endsnippet
|
||||||
|
|
||||||
|
snippet bin "Binary Inf"
|
||||||
|
\BinaryInfC{\$ $1 \$}$0
|
||||||
|
endsnippet
|
||||||
|
|
19
.vimrc
19
.vimrc
|
@ -6,7 +6,7 @@ set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
call vundle#begin()
|
call vundle#begin()
|
||||||
|
|
||||||
" let Vundle manage Vundle, required
|
" let Vundle manage Vundle, required
|
||||||
Plugin 'gmarik/Vundle.vim'
|
Plugin 'VundleVim/Vundle.vim'
|
||||||
|
|
||||||
" add all your plugins here (note older versions of Vundle
|
" add all your plugins here (note older versions of Vundle
|
||||||
" used Bundle instead of Plugin)
|
" used Bundle instead of Plugin)
|
||||||
|
@ -54,6 +54,9 @@ Plugin 'vim-airline/vim-airline-themes'
|
||||||
" vim ale for interaction with language servers
|
" vim ale for interaction with language servers
|
||||||
Plugin 'w0rp/ale'
|
Plugin 'w0rp/ale'
|
||||||
|
|
||||||
|
" editorconfig plugin
|
||||||
|
Plugin 'editorconfig/editorconfig-vim'
|
||||||
|
|
||||||
" language packs
|
" language packs
|
||||||
Plugin 'sheerun/vim-polyglot'
|
Plugin 'sheerun/vim-polyglot'
|
||||||
|
|
||||||
|
@ -140,11 +143,13 @@ noremap <Down> <Nop>
|
||||||
noremap <Left> <Nop>
|
noremap <Left> <Nop>
|
||||||
noremap <Right> <Nop>
|
noremap <Right> <Nop>
|
||||||
|
|
||||||
" html css js indents
|
" auto expand brackets
|
||||||
au BufNewFile,BufRead *.js, *.html, *.css
|
inoremap (; (<CR>)<C-c>O
|
||||||
\ set tabstop=4 |
|
inoremap (, (<CR>),<C-c>O
|
||||||
\ set softtabstop=4 |
|
inoremap {; {<CR>}<C-c>O
|
||||||
\ set shiftwidth=4
|
inoremap {, {<CR>},<C-c>O
|
||||||
|
inoremap [; [<CR>]<C-c>O
|
||||||
|
inoremap [, [<CR>],<C-c>O
|
||||||
|
|
||||||
" Delete buffer while keeping window layout (don't close buffer's windows).
|
" Delete buffer while keeping window layout (don't close buffer's windows).
|
||||||
" Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165
|
" Version 2008-11-18 from http://vim.wikia.com/wiki/VimTip165
|
||||||
|
@ -253,7 +258,7 @@ augroup VimDiff
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" fzf setup
|
" fzf setup
|
||||||
nmap <C-z> :Buffers<CR>
|
nmap <C-y> :Buffers<CR>
|
||||||
nmap <Leader>f :Files<CR>
|
nmap <Leader>f :Files<CR>
|
||||||
let g:fzf_buffers_jump = 1
|
let g:fzf_buffers_jump = 1
|
||||||
|
|
||||||
|
|
|
@ -54,6 +54,9 @@ set -g window-status-current-format "#[fg=colour8]#[bg=colour1]#[fg=colour7]#
|
||||||
# normal window status
|
# normal window status
|
||||||
set -g window-status-format "#[fg=colour244]#[bg=colour8]#I #[fg=colour240] #W"
|
set -g window-status-format "#[fg=colour244]#[bg=colour8]#I #[fg=colour240] #W"
|
||||||
|
|
||||||
|
# escape time
|
||||||
|
set-option -sg escape-time 10
|
||||||
|
|
||||||
# COLOURS
|
# COLOURS
|
||||||
#colour0 (black)
|
#colour0 (black)
|
||||||
#colour1 (red)
|
#colour1 (red)
|
||||||
|
|
Loading…
Add table
Reference in a new issue