summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/mySnippets/vim.snippets3
-rw-r--r--vim/vimrc17
2 files changed, 14 insertions, 6 deletions
diff --git a/vim/mySnippets/vim.snippets b/vim/mySnippets/vim.snippets
index 41f9024..e69de29 100644
--- a/vim/mySnippets/vim.snippets
+++ b/vim/mySnippets/vim.snippets
@@ -1,3 +0,0 @@
-snippet test "Description" b
-tste
-endsnippet
diff --git a/vim/vimrc b/vim/vimrc
index 26b9e5c..948413a 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -53,15 +53,26 @@ function! SynctexShow()
exec execline
end
endfunction
-nnoremap <Leader>lv :call SynctexShow()<CR><CR>
-nnoremap <Leader>lc :Latexmk<CR>
-nnoremap <Leader>ls :LatexmkStop<CR>:LatexmkClean<CR>
+
+" Access
+nnoremap <LocalLeader>a :call SynctexShow()<CR><CR>
+
+" Initiate
+nnoremap <LocalLeader>i :Latexmk<CR>
+
+" Open
+nnoremap <LocalLeader>o :LatexView<CR>
+
+" Kill
+nnoremap <LocalLeader>k :LatexmkStop<CR>:LatexmkClean<CR>
" Gundo
nnoremap <F5> :GundoToggle<cr>
" Nerdtree
nnoremap <F3> :NERDTreeToggle<cr>
+
+
let NERDTreeIgnore=['\.pdf$', '\~$','\.toc$',
\ '\.fls$','\.bbl$','\.blg$',
\ '\.out$', '\.log$','\.aux$','\.sty$',