diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index d16104e..2042692 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -70,6 +70,10 @@ " Notes "Plug 'xolox/vim-notes' + + " Latex + Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' } + call plug#end() " @@ -201,3 +205,33 @@ if 'VIRTUAL_ENV' in os.environ: activate_this = os.path.join(project_base_dir, 'bin/activate_this.py') execfile(activate_this, dict(__file__=activate_this)) EOF + + + +" +" Latex +" + + let g:livepreview_previewer = 'zathura' + +" +"Hide statusbar +" + let s:hidden_all = 0 + function! ToggleHiddenAll() + if s:hidden_all == 0 + let s:hidden_all = 1 + set noshowmode + set noruler + set laststatus=0 + set noshowcmd + else + let s:hidden_all = 0 + set showmode + set ruler + set laststatus=2 + set showcmd + endif + endfunction + + nnoremap :call ToggleHiddenAll() diff --git a/nvim/.config/zathura/zathurarc b/nvim/.config/zathura/zathurarc new file mode 100644 index 0000000..a115100 --- /dev/null +++ b/nvim/.config/zathura/zathurarc @@ -0,0 +1,17 @@ +set adjust-open width +set font "Roboto 11" +set guioptions "" + +set default-bg "#202020" + +set inputbar-bg "#303030" +set inputbar-fg "#ffffff" + +set statusbar-bg "#202020" +set statusbar-fg "#ffffff" + +set completion-bg "#303030" +set completion-fg "#ffffff" + +set completion-highlight-bg "#cc5757" +set completion-highlight-fg "#ffffff"