summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-13 12:10:32 +0000
committerUrbain Vaes <urbain@vaes.uk>2015-03-13 12:10:32 +0000
commit2163290664136a358648cf968572344d6406580e (patch)
treee6a3df0b686665c525e399651a55ce6e0840e645 /vim
parentb3727cce64e67585bfee83ebe6523712091cc4a0 (diff)
commit before merge
Diffstat (limited to 'vim')
-rw-r--r--vim/mySnippets/tex.snippets8
-rw-r--r--vim/vimrc9
2 files changed, 8 insertions, 9 deletions
diff --git a/vim/mySnippets/tex.snippets b/vim/mySnippets/tex.snippets
index ef275a0..a1064ea 100644
--- a/vim/mySnippets/tex.snippets
+++ b/vim/mySnippets/tex.snippets
@@ -17,3 +17,11 @@ endsnippet
snippet sobw "Weighted Sobolev space" i
\wsobolev{${1:s}}{${2:\real^n}}{${3:\rho}} $0
endsnippet
+
+snippet new "New command" b
+\newcommand{$1}[$2]{$3}
+endsnippet
+
+snippet smooth "Smooth function" i
+\smooth{${1:\real^n}} $0
+endsnippet
diff --git a/vim/vimrc b/vim/vimrc
index 99d8eb9..08bf19e 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -221,15 +221,6 @@ vnoremap g^ ^
"" Latex
nmap <buffer> <F2> <Plug>LatexChangeEnv
let g:tex_fast=""
-
-" Synctex
-function! LatexEvinceSearch()
- execute "!cd " . LatexBox_GetTexRoot() . '; evince_vim_dbus.py EVINCE "`basename ' . LatexBox_GetOutputFile(). '`" ' . line('.') . ' "%:p"'
-endfun
-
-command! LatexEvinceSearch call LatexEvinceSearch()
-
-autocmd FileType tex map <F6> :silent LatexEvinceSearch <Return>
autocmd Filetype tex call SetTexOptions()