diff options
-rw-r--r-- | vim/mySnippets/vim.snippets | 3 | ||||
-rw-r--r-- | vim/vimrc | 17 | ||||
-rw-r--r-- | 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 @@ -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$', @@ -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' |