From e36d5cd533ab1104366032c4cde0480751874d90 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 11 Nov 2014 20:51:28 +0000 Subject: update --- vim/mySnippets/vim.snippets | 3 --- vim/vimrc | 17 ++++++++++++++--- zshrc | 10 +++++++--- 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 lv :call SynctexShow() -nnoremap lc :Latexmk -nnoremap ls :LatexmkStop:LatexmkClean + +" Access +nnoremap a :call SynctexShow() + +" Initiate +nnoremap i :Latexmk + +" Open +nnoremap o :LatexView + +" Kill +nnoremap k :LatexmkStop:LatexmkClean " Gundo nnoremap :GundoToggle " Nerdtree nnoremap :NERDTreeToggle + + 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' -- cgit v1.2.3