summaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-08-16 11:13:28 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-08-16 11:13:28 +0100
commite7f2cb91510795f1275abed4e5e878ee9c209fc3 (patch)
tree4368d6d1b70bc6f96be23e56da27cb4d7108fb0b /.vim
parent21273fccab1765a30aa8cd26412030482306c5c9 (diff)
Save various changes
Diffstat (limited to '.vim')
-rw-r--r--.vim/mySnippets/tex.snippets11
-rw-r--r--.vim/vimrc9
2 files changed, 12 insertions, 8 deletions
diff --git a/.vim/mySnippets/tex.snippets b/.vim/mySnippets/tex.snippets
index 9c74845..d9b37b5 100644
--- a/.vim/mySnippets/tex.snippets
+++ b/.vim/mySnippets/tex.snippets
@@ -108,3 +108,14 @@ endsnippet
snippet gauss "Gaussian density" w
\gaussian{${1:\mu}}{${2:\Sigma}}$0
endsnippet
+
+snippet poly "Polynomials" w
+\poly{${1:d}}
+endsnippet
+
+snippet item "Itemize" b
+\begin{itemize}
+ \item $1
+\end{itemize}
+$0
+endsnippet
diff --git a/.vim/vimrc b/.vim/vimrc
index 13b520a..d2070b5 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -105,10 +105,9 @@ let g:tagbar_width = 30
let g:tagbar_show_linenumbers=1
let g:tagbar_autofocus=1
-
let g:tex_conceal= 'adgm'
let g:tex_flavor='latex'
- let g:tex_fast="1"
+let g:tex_fast="1"
let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$',
\ '\.fls$','\.bbl$','\.blg$',
@@ -271,12 +270,6 @@ nnoremap Y y$
nnoremap + za
nnoremap K :OnlineThesaurusCurrentWord<CR>
-" Dvorak specific
-nnoremap : ,
-vnoremap : ,
-nnoremap , :
-vnoremap , :
-
" Neovim specific
if has("nvim")
tnoremap <C-_> <C-\><C-n><C-^>:ZoomWinTabOut<cr>