From 4aaf2757ae267ee335adba0546c08b59536199d1 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 14 Oct 2015 12:51:57 +0100 Subject: Delete grm --- .zsh/plugins | 8 +------- .zsh/zshrc | 1 - 2 files changed, 1 insertion(+), 8 deletions(-) (limited to '.zsh') diff --git a/.zsh/plugins b/.zsh/plugins index bccb010..88750f9 100644 --- a/.zsh/plugins +++ b/.zsh/plugins @@ -27,7 +27,6 @@ if ! zgen saved; then # My plugins zgen load uvaes/fzf-marks - zgen load uvaes/grm # Other plugins zgen load rupa/z @@ -44,7 +43,7 @@ fi # Autosuggestion { - # Environment variables for plugins + # Environment variables for plugin AUTOSUGGESTION_HIGHLIGHT_COLOR='fg=6' zle-line-init() { @@ -54,8 +53,3 @@ fi bindkey '^y' autosuggest-execute-suggestion } - -# GRM -{ - REPOFILE=/home/urbain/.grmrc -} diff --git a/.zsh/zshrc b/.zsh/zshrc index b7a6c33..f08eee4 100644 --- a/.zsh/zshrc +++ b/.zsh/zshrc @@ -46,5 +46,4 @@ if [[ -n ${TMUX} && -n ${commands[tmux]} ]];then esac fi - [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh -- cgit v1.2.3 From e25f466c2bfedd2811919b4574c5a21bb68b448d Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Fri, 16 Oct 2015 11:11:31 +0100 Subject: Add alias for backwards synctex search --- .vim/after/ftplugin/tex/mappings.vim | 20 -------------------- .zsh/aliases | 3 ++- 2 files changed, 2 insertions(+), 21 deletions(-) (limited to '.zsh') diff --git a/.vim/after/ftplugin/tex/mappings.vim b/.vim/after/ftplugin/tex/mappings.vim index e7dd610..f812cd8 100644 --- a/.vim/after/ftplugin/tex/mappings.vim +++ b/.vim/after/ftplugin/tex/mappings.vim @@ -31,29 +31,9 @@ iabbrev gp \pi iabbrev gw \omega iabbrev dd \d -" function! SynctexShow() -" let synctex = glob("*.synctex.gz") -" if strlen(synctex) == 0 -" echom "no synctex file found" -" else -" let pdffile = substitute(synctex,"synctex.gz","pdf","") -" let execline = printf(":!zathura --synctex-forward %d:%d:%s %s", line('.'), col('.'), shellescape(bufname("%")), shellescape(pdffile)) -" exec execline -" end -" endfunction - -" nnoremap a :call SynctexShow() -" nnoremap i :Latexmk -" nnoremap e :LatexErrors -" nnoremap o :LatexView -" noremap k :LatexmkStop:LatexmkClean -" nnoremap h :split header.sty - - nnoremap i :VimtexCompile nnoremap e :VimtexErrors nnoremap o :VimtexView nnoremap k :VimtexStop:VimtexClean nnoremap t :VimtexTocToggle nnoremap h :split header.sty -nnoremap h :split header.sty diff --git a/.zsh/aliases b/.zsh/aliases index 28cd4dd..d3d8b2a 100644 --- a/.zsh/aliases +++ b/.zsh/aliases @@ -28,9 +28,10 @@ alias mail='offlineimap -u quiet &' alias mc='make clean' alias mca='make clean-all' alias n='nvim' -alias ns="$EDITOR -S Session.vim" alias pushs='git push --recurse-submodules=check' alias v='vim' +alias vims="vim -S Session.vim" +alias vimtex='vim -S Session.vim --servername SYNC' alias x='sh ~/.xmodmap' alias youtube='mpsyt' alias notes='vim ~/dotfiles/.notes/Notes' -- cgit v1.2.3