From eadc4f4049a14e1a10ef1e3c9b0492ce70468c56 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Mon, 12 Oct 2020 15:12:40 -0400 Subject: fix zathura vimtex swallow --- .config/nvim/init.vim | 8 ++++---- .profile | 4 ++-- .xinitrc | 1 - 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 260a1ff..005e756 100755 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -41,8 +41,6 @@ Plug 'tpope/vim-sensible' Plug 'dhruvasagar/vim-table-mode' " Html linter enabler (for prettier AUR package) Plug 'dense-analysis/ale' -" Vim Goyo -Plug 'junegunn/goyo.vim' " Vim css hex highlight Plug 'chrisbra/Colorizer' " Bracket Completion @@ -83,6 +81,8 @@ Plug 'tpope/vim-surround' Plug 'tpope/vim-repeat' " Vimtex Plug 'lervag/vimtex' +" Tags for latex +Plug 'ludovicchabant/vim-gutentags' " C developement in vim Plug 'vim-scripts/c.vim' " NERDTree @@ -184,8 +184,8 @@ let g:go_term_mode = "silent keepalt rightbelow 35 vsplit" let g:go_def_reuse_buffer = 1 autocmd FileType go nmap r :call ReuseVimGoTerm('GoRun') " Vimtex pdf viewer -let g:latex_view_general_viewer = 'zathura' -let g:vimtex_view_method = "zathura" +let g:vimtex_view_general_viewer = 'open' +let g:vimtex_view_general_options = '-a zathura' let g:tex_flavor = 'latex' " #---Document Compilation/Visualisation---# " diff --git a/.profile b/.profile index 7bf362e..c707c22 100644 --- a/.profile +++ b/.profile @@ -1,5 +1,5 @@ export GOPATH=$HOME/.go -export SCRIPTS=$HOME/.scripts +export SCRIPTS=$HOME/.local/bin export PATH="$PATH:$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':')" export PATH=$PATH:/root/.local/bin export PATH=$PATH:$HOME/.local/bin @@ -20,7 +20,7 @@ export DISTRIB_RELEASE=$(uname -r) # export GOROOT=/usr/bin/go # fix "xdg-open fork-bomb" export your preferred browser from here -export BROWSER=firefox +export BROWSER=$(which firefox) # less/man colors export LESS=-R diff --git a/.xinitrc b/.xinitrc index 6c72ff4..3b68634 100644 --- a/.xinitrc +++ b/.xinitrc @@ -6,7 +6,6 @@ dunst & protonmail-bridge --no-window & xautolock -time 5 -detectsleep -locker slock & picom -b & -echo "/tmp/imapsyncicon_$USER" | entr $SCRIPTS/cron/dwmbar & echo "" > $HOME/.local/share/newsboat/queue echo us > $HOME/.cache/layout xrdb -load $HOME/.Xresources -- cgit v1.2.3