1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

enhancing tex feeling in vim

This commit is contained in:
tiynger
2019-10-16 16:25:42 +02:00
parent fd43bc1b43
commit bf175d083f
6 changed files with 78 additions and 44 deletions

View File

@@ -26,9 +26,9 @@ sc() { find ~/.config/* ~/.local/bin/* -type f | fzf | xargs -r $EDITOR ;}
sd() { find ~/ownCloud/* -type f | grep ".pdf" | fzf | xargs -r $READER ;}
# git
texhandout() {
texhandout() {
[[ -z $1 ]] && echo "missing argument: filename (no ending)" && return 1
cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex $1.tex && xelatex $1.tex
cp ~/gitrepos/Tools/LaTeX\ Templates/LaTeX\ Handout/Handout.tex $1.tex && compile $1.tex
}
# grep