From 26f2ab5dc67a4c4b4fb759978ef2d1f1b1a7778d Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado <55825613+luevano@users.noreply.github.com> Date: Thu, 10 Dec 2020 12:33:29 -0700 Subject: Fix startup settings and ranger config for uerbgadgascba --- .config/nvim/init.vim | 135 +++++++++++++++++++++++++------------------------ .config/ranger/rc.conf | 5 +- .config/x11/xprofile | 1 + 3 files changed, 72 insertions(+), 69 deletions(-) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index ce104e0..9f9f025 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -15,72 +15,73 @@ set showcmd " unlet autoload_plug_path ""---Loads plugins---"" -" call plug#begin('~/.config/nvim/plugged') -" " Color schemes -" Plug 'altercation/vim-colors-solarized' -" Plug 'dracula/vim' -" -" " Other -" Plug 'mboughaba/i3config.vim' -" Plug 'junegunn/goyo.vim' -" Plug 'preservim/nerdtree' -" let g:NERDTreeShowHidden=1 -" autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif -" -" "Airline -" Plug 'vim-airline/vim-airline' -" let g:airline_powerline_fonts=1 -" Plug 'vim-airline/vim-airline-themes' -" let g:airline_theme='dracula' -" -" " Git -" Plug 'Xuyuanp/nerdtree-git-plugin' -" Plug 'mhinz/vim-signify' -" set updatetime=100 -" -" "Auto completion -" Plug 'Valloric/YouCompleteMe' -" let g:ycm_autoclose_preview_window_after_completion=1 -" -" " TeX -" Plug 'lervag/vimtex' -" let g:tex_flavor='latex' -" let g:vimtex_view_method=$READER -" let g:vimtex_quickfix_mode=0 -" Plug 'KeitaNakamura/tex-conceal.vim' -" set conceallevel=2 -" let g:tex_conceal="abdgm" -" " Markdown/pandoc -" Plug 'vim-pandoc/vim-pandoc' -" Plug 'vim-pandoc/vim-pandoc-syntax' -" -" " Python -" Plug 'tmhedberg/SimpylFold' -" let g:SympylFold_docstring_preview=1 -" Plug 'vim-scripts/indentpython.vim' -" " Plug 'jmcantrell/vim-virtualenv' -" " Plug 'Yggdroot/indentLine' -" Plug 'nvie/vim-flake8' -" -" " Java -" Plug 'uiiaoo/java-syntax.vim' -" " If variable highlighting should be disabled -" " highlight link JavaIdentifier NONE -" -" " Syntax -" Plug 'vim-syntastic/syntastic' -" set statusline+=%#warningmsg# -" set statusline+=%{SyntasticStatuslineFlag()} -" set statusline+=%* -" let g:syntastic_always_populate_loc_list=1 -" let g:syntastic_auto_loc_list=1 -" let g:syntastic_check_on_open=1 -" let g:syntastic_check_on_wq=0 -" let g:syntastic_tex_checkers=['chktex'] -" " let g:syntastic_tex_lacheck_quiet_messages = {'regex': '\Vpossible unwanted space at'} -" let g:syntastic_tex_chktex_quiet_messages = {'level': 'warnings'} -" -" call plug#end() + call plug#begin('~/.config/nvim/plugged') + " Color schemes + " Plug 'altercation/vim-colors-solarized' + Plug 'dracula/vim' + + " Other + Plug 'mboughaba/i3config.vim' + Plug 'junegunn/goyo.vim' + Plug 'preservim/nerdtree' + let g:NERDTreeShowHidden=1 + autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif + + "Airline + Plug 'vim-airline/vim-airline' + let g:airline_powerline_fonts=1 + Plug 'vim-airline/vim-airline-themes' + let g:airline_theme='dracula' + + " Git + Plug 'Xuyuanp/nerdtree-git-plugin' + Plug 'mhinz/vim-signify' + set updatetime=100 + + "Auto completion + " Plug 'Valloric/YouCompleteMe' + " let g:ycm_autoclose_preview_window_after_completion=1 + + " TeX + Plug 'lervag/vimtex' + let g:tex_flavor='latex' + let g:vimtex_view_method=$READER + let g:vimtex_quickfix_mode=0 + Plug 'KeitaNakamura/tex-conceal.vim' + set conceallevel=2 + let g:tex_conceal="abdgm" + + " Markdown/pandoc + Plug 'vim-pandoc/vim-pandoc' + Plug 'vim-pandoc/vim-pandoc-syntax' + + " Python + Plug 'tmhedberg/SimpylFold' + let g:SympylFold_docstring_preview=1 + Plug 'vim-scripts/indentpython.vim' + " Plug 'jmcantrell/vim-virtualenv' + " Plug 'Yggdroot/indentLine' + Plug 'nvie/vim-flake8' + + " Java + Plug 'uiiaoo/java-syntax.vim' + " If variable highlighting should be disabled + " highlight link JavaIdentifier NONE + + " Syntax + " Plug 'vim-syntastic/syntastic' + " set statusline+=%#warningmsg# + " set statusline+=%{SyntasticStatuslineFlag()} + " set statusline+=%* + " let g:syntastic_always_populate_loc_list=1 + " let g:syntastic_auto_loc_list=1 + " let g:syntastic_check_on_open=1 + " let g:syntastic_check_on_wq=0 + " let g:syntastic_tex_checkers=['chktex'] + " " let g:syntastic_tex_lacheck_quiet_messages = {'regex': '\Vpossible unwanted space at'} + " let g:syntastic_tex_chktex_quiet_messages = {'level': 'warnings'} + + call plug#end() "" Commands for plug. " PlugInstall [name ...] [#threads] Install plugins " PlugUpdate [name ...] [#threads] Install or update plugins @@ -93,7 +94,7 @@ set showcmd ""---Basic configuration---"" syntax enable set background=dark - " colorscheme dracula + colorscheme dracula " Just so alacritty can use transparency. hi Normal ctermbg=NONE set encoding=utf-8 diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf index 209a884..a43cc9d 100644 --- a/.config/ranger/rc.conf +++ b/.config/ranger/rc.conf @@ -58,11 +58,12 @@ set preview_images true # urxvt # urxvt-full # kitty -set preview_images_method w3m +# ueberzug +set preview_images_method ueberzug # Delay in seconds before displaying an image with the w3m method. # Increase it in case of experiencing display corruption. -set w3m_delay 0.02 +# set w3m_delay 0.02 # Default iTerm2 font size (see: preview_images_method: iterm2) set iterm2_font_width 8 diff --git a/.config/x11/xprofile b/.config/x11/xprofile index e94619a..b3abfbb 100644 --- a/.config/x11/xprofile +++ b/.config/x11/xprofile @@ -3,6 +3,7 @@ # This is run when a display manager logs in. # Used as source for ~/.xinitrc. +numlockx on & xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & nm-applet & picom & -- cgit v1.2.3-70-g09d2