summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--latexmkrc5
-rw-r--r--mutt/cache/headersbin741376 -> 751872 bytes
-rw-r--r--vim/mySnippets/tex.snippets16
-rw-r--r--zshrc4
4 files changed, 21 insertions, 4 deletions
diff --git a/latexmkrc b/latexmkrc
index 2ce33a9..5f66094 100644
--- a/latexmkrc
+++ b/latexmkrc
@@ -1,5 +1,4 @@
-$pdf_mode = 1;
-$pdf_previewer = 'zathura -s -x "vim --servername SYNCTEX --remote +%{line} %{input}" %O %S';
-$new_viewer_always [0];
+$pdf_mode = 0;
+$pdf_previewer = 'zathura -s -x "vim --servername SYNC --remote +%{line} %{input}" %O %S';
$clean_ext = "synctex.gz bbl pdf";
diff --git a/mutt/cache/headers b/mutt/cache/headers
index 1134e74..3eec6b3 100644
--- a/mutt/cache/headers
+++ b/mutt/cache/headers
Binary files differ
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index 000f288..ac0fd05 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -69,3 +69,19 @@ endsnippet
snippet cont "Continuous function" i
\cont{$1}{$2}$0
endsnippet
+
+snippet mean "Expectation" i
+\expect $0
+endsnippet
+
+snippet dot "Dot product" i
+\dotx
+endsnippet
+
+snippet abs "Absolute value" i
+\abs{ $1 }$0
+endsnippet
+
+snippet sum "Sum" i
+\sum_{${1:i=1}}^{${2:n}}
+endsnippet
diff --git a/zshrc b/zshrc
index 5e10a4d..ffdb380 100644
--- a/zshrc
+++ b/zshrc
@@ -51,7 +51,7 @@ alias g='git'
alias v=$EDITOR
alias g='git'
alias v='vim'
-alias vs="vim --servername SYNCTEX"
+alias vs="vim --servername SYNC"
alias c='clear'
alias m='mutt'
alias a='vifm'
@@ -62,6 +62,8 @@ alias ca='printf "\ec"'
alias update='sudo apt-get update'
alias upgrade='sudo apt-get upgrade'
alias install='sudo apt-get install'
+alias remove='sudo apt-get autoremove'
+alias purge='sudo apt-get purge'
# Configuration
alias ez='vim ~/.zshrc'