merging vim folders

This commit is contained in:
Debucquoy 2023-11-02 10:11:39 +01:00
parent 4234763787
commit 7f78647c46
Signed by: tonitch
GPG Key ID: A78D6421F083D42E
8 changed files with 58 additions and 0 deletions

View File

@ -2,3 +2,7 @@ snippet pline "print a line" i
printf("----------------------------------------\n");
endsnippet
snippet dpvi "Define printvi for printing variable int" b
#define printvi(X) printf("%s = %d\n", #X, X);
endsnippet

View File

@ -1,2 +1,10 @@
extends jinja
extends html
snippet static "add a staic url_for" i
{{ url_for("static", $1) }} $0
endsnippet
snippet url "add a url_for inline" i
{{ url_for("$1") }} $0
endsnippet

View File

@ -20,10 +20,18 @@ snippet bb "mathbb" i
\mathbb{${1:${VISUAL:R}}} $0
endsnippet
snippet in "\in" i
\in $0
endsnippet
snippet text "implement text in tex" i
\text{ ${1:${VISUAL:text}} } $0
endsnippet
snippet quad "small space (like a tab)" i
\quad $0
endsnippet
snippet br "break a line in tex mode" i
\\\\\\\\
$0
@ -43,6 +51,13 @@ snippet set "prepare for a set in tex {}" i
\\\\{ ${1:${VISUAL:e}} \\\\} $0
endsnippet
snippet forall "forall"
\forall $0
endsnippet
snippet exists "exists"
\exists $0
priority -1
snippet "(\w+)" "latex default" r
\\`!p snip.rv = match.group(1)` $1

View File

@ -0,0 +1 @@
extends 'uml'

View File

@ -0,0 +1,15 @@
snippet base "Description" b
\documentclass{${1:${VISUAL:article}}}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{amsmath, amsfonts, amssymb, amsthm}
\begin{document}
$0
\end{document}
endsnippet

View File

@ -0,0 +1,3 @@
snippet use "usecase"
usecase $1 as '$2' $0
endsnippet

View File

@ -1 +1,8 @@
noremap <F11> <ESC>:vert term python -i %<CR>
noremap <F12> <ESC>:vert term python %<CR>
set sw=4
set ts=4
set sts=4
set foldmethod=indent

View File

@ -0,0 +1,5 @@
set concealcursor=""
highlight Conceal ctermfg=red
noremap <silent> <F12> <ESC>:silent !pdflatex % && mupdf %:r.pdf&<CR>