aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-19 11:26:25 +0200
committerVasil Zlatanov <vasil.zlatanov@gmail.com>2014-04-19 11:26:25 +0200
commit00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5 (patch)
treecc2152ec05fe63a49f075f8080ad270dfe1d87f4 /vimrc
parent3d2e8c0d2f354fbd963e2b12b77cd141270cf8b8 (diff)
downloaddotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.tar.gz
dotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.tar.bz2
dotfiles-00d0dfb24d415af4e9eb7d7fa1cb4ac34be7e6c5.zip
Update to muttrc and vimrc.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/vimrc b/vimrc
index f2baf7b..95bbaee 100644
--- a/vimrc
+++ b/vimrc
@@ -74,9 +74,19 @@ set nobackup
au CursorHold,CursorHoldI * checktime
"au CursorHold,CursorHoldI * silent! wa
filetype plugin on
-filetype indent on
+filetype indent off
let g:tex_flavor='latex'
"Persisten-undo magic
set undofile
+
+"Disable Autocomment
+autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
+
+"Latex PDF magic
+let g:Tex_DefaultTargetFormat = 'pdf'
+let g:Tex_MultipleCompileFormats='pdf, aux'
+
+"Math with qalc
+nnoremap <leader>m :.!qalc<Enter>