colorscheme nten16 set vicmd=nvim set syscalls view set history=100 set nofollowlinks set sortnumbers set undolevels=100 set norunexec set timefmt=%m/%d\ %H:%M set wildmenu set wildstyle=popup set suggestoptions=normal,visual,view,otherpane,keys,marks,registers set ignorecase set smartcase set nohlsearch set incsearch set scrolloff=4 set trashdir=$HOME/.local/share/Trash/files set vifminfo=dhistory,chistory,state,shistory,phistory,fhistory,dirstack,registers,bookmarks,bmarks " === commands command! zip zip -r %f.zip %f command! targz tar -czvf %f.tar.gz %f set rulerformat= " === Key maps nmap q ZQ nnoremap gg ggj nnoremap ! :shell nnoremap w :view nnoremap S :sort nnoremap se :!$HOME/bin/extract %f & nnoremap sa :!zip -r %f.zip %f nnoremap ss :!tar -czvf %f.tar.gz @f " === files filetype *.csv,*.xlsx libreoffice %c %i fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw fileviewer *.html w3m -dump %c filextype *.html,*.htm qutebrowser %f 2>/dev/null & filetype nvim fileviewer env -uCOLORTERM bat --color always --wrap never --pager never %c -p filextype *.pdf zathura %c %i & filetype