dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 061a0b40f5874b56bfce06ab105f732ba6f0df64
parent 745d6fbceca6434ac65e39aee12506942c518631
Author: Alex Balgavy <alex@balgavy.eu>
Date:   Sat, 16 Jan 2021 16:46:52 +0100

vim: browser command for w3m

Diffstat:
Mvim/vimrc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -693,6 +693,7 @@ command! Softwrap setlocal wrap formatoptions-=cat command! Hardwrap setlocal nowrap formatoptions+=cat command! Syncwin windo set scrollbind! cursorbind! command! EF exe "split $HOME/.vim/after/ftplugin/".&filetype.".vim" +command! -nargs=? Browser exe 'terminal ++close w3m -config '.getenv("XDG_CONFIG_HOME").'/w3m/config '.<q-args> command! -nargs=1 Img \ exe "r! find ".shellescape(expand("%:p:h"))." -maxdepth ".<args>." -type f -exec file --mime-type '{}' \\+" \ ."| awk -F: '$2 ~ /image\\//{print $1}'"