summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2014-11-11 20:51:28 +0000
committerUrbain Vaes <urbain@vaes.uk>2014-11-11 20:51:28 +0000
commite36d5cd533ab1104366032c4cde0480751874d90 (patch)
treeebe84bfa260b872e9e42d7606b242fe657ec5c1f
parent6cfba4bccec880386fc16d1f6977270245b30c9a (diff)
update
-rw-r--r--vim/mySnippets/vim.snippets3
-rw-r--r--vim/vimrc17
-rw-r--r--zshrc10
3 files changed, 21 insertions, 9 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 05a059c..37c974b 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$',
diff --git a/zshrc b/zshrc
index 9ab81c8..88008c2 100644
--- a/zshrc
+++ b/zshrc
@@ -80,15 +80,19 @@ alias -s tex=vim
alias -s pdf=zathura
alias -s py=vim
-alias tmux="TERM=screen-256color-bce tmux"
-alias g='git'
-alias v=$EDITOR
+# Easy access to directories
alias u='cd ~/Dropbox/phd'
alias uc='cd ~/Dropbox/phd/programs'
alias up='cd ~/Dropbox/phd/presentations'
alias ul='cd ~/Dropbox/phd/literature'
alias ur='cd ~/Dropbox/phd/reports'
alias cdd='cd ~/dotfiles'
+
+# Easy access to programs
+alias tmux="TERM=screen-256color-bce tmux"
+alias g='git'
+alias v='vim'
+alias vs="vim --servername SYNCTEX"
alias c='clear'
alias m='mutt'
alias a='vifm'