summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-10-12 15:12:40 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2020-10-12 15:12:40 -0400
commiteadc4f4049a14e1a10ef1e3c9b0492ce70468c56 (patch)
tree2e13b365519ed56ec954aa323bfe513e7e94d1e3
parentcfd8c32a1e4a9097842baabf8f011748ffe4797c (diff)
fix zathura vimtex swallow
-rwxr-xr-x.config/nvim/init.vim8
-rw-r--r--.profile4
-rw-r--r--.xinitrc1
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 <leader>r :call ReuseVimGoTerm('GoRun')<Return>
" 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