commit a0be7d75f7750cb61bf60b4b4f57d516c6ee44df
parent e20c34f71736dd9aee083f858086c872d3a993ef
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 8 Jun 2021 14:18:21 +0200
vim: add bookmarks file to :Browser
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -713,7 +713,7 @@ command! Hardwrap setlocal nowrap formatoptions+=cat
command! Syncwin windo set scrollbind! cursorbind!
command! EF exe "split $HOME/.vim/after/ftplugin/".&filetype.".vim"
command! FD filetype detect
-command! -nargs=? Browser exe 'terminal ++close w3m -config '.getenv("XDG_CONFIG_HOME").'/w3m/config '.<q-args>
+command! -nargs=? Browser exe 'terminal ++close w3m -config '.getenv("XDG_CONFIG_HOME").'/w3m/config -bookmark '.getenv("XDG_CONFIG_HOME").'/w3m/bookmark.html '.<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}'"