From 965b2159c0a3328f86fcb72fa551820e24e7949c Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Mon, 25 Dec 2023 00:57:47 +0100 Subject: lun 25 dic 2023 00:57:49 CET --- stow/qutebrowser/.config/qutebrowser/config.py | 4 +++- stow/ranger/.config/ranger/rc.conf | 4 ++-- stow/vim/.vim/ftplugin/sh/snippets/template.txt | 2 +- stow/vim/.vim/ftplugin/vimwiki/snips/template.txt | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/stow/qutebrowser/.config/qutebrowser/config.py b/stow/qutebrowser/.config/qutebrowser/config.py index 52f1f9a..6031fb5 100644 --- a/stow/qutebrowser/.config/qutebrowser/config.py +++ b/stow/qutebrowser/.config/qutebrowser/config.py @@ -1403,7 +1403,9 @@ c.url.searchengines = { 'mtgart': 'https://www.artofmtg.com/?s={}', # Art of MTG 'bgg': 'https://boardgamegeek.com/geeksearch.php?action=search&q={}&objecttype=boardgame', # Board Games Geek 'bga': 'https://boardgamearena.com/gamepanel?game={}', # Board Game Arena - 'do': 'http://wiki.dominionstrategy.com/index.php/{}' # Dominion Wiki + 'do': 'http://wiki.dominionstrategy.com/index.php/{}', # Dominion Wiki + 'vdb': 'https://vdb.im/library?q=%7B%22text%22%3A%5B%7B%22value%22%3A%22{}%22%2C%22logic%22%3A%22and%22%2C%22in%22%3A%22name%22%7D%5D%7D', # V:TES Library + 'vdbCrypt': 'https://vdb.im/crypt?q=%7B%22text%22%3A%5B%7B%22value%22%3A%22{}%22%2C%22logic%22%3A%22and%22%7D%5D%7D' # V:TES Crypt } ## Page(s) to open at the start. diff --git a/stow/ranger/.config/ranger/rc.conf b/stow/ranger/.config/ranger/rc.conf index d5e1f05..8c566ed 100644 --- a/stow/ranger/.config/ranger/rc.conf +++ b/stow/ranger/.config/ranger/rc.conf @@ -253,7 +253,7 @@ alias travel scout -aefiklst # Custom map ,b bulkrename -map ,d shell rm.sh %s +map ,d shell rm.sh "%s" map ,s shell tmux split-window -p 60 -c %d & map ,S shell tmux new-window -a -n shell -c %d & map ,e shell tmux new-window -a -n $EDITOR "$EDITOR %s" @@ -262,7 +262,7 @@ map ,W console shell ~/scripts/floats/floatBgBrowser.sh %d/ & map ,p shell asPDF.sh %f map ,P shell lowriter --convert-to pdf %f map ,um shell sudo umount %p -map ,z shell zip -r %f.zip %s +map ,z shell zip -r %f.zip "%s" map ,uz shell 7z x %f map ,ur shell unrar x %f map ,ut shell tar -xvzf %f diff --git a/stow/vim/.vim/ftplugin/sh/snippets/template.txt b/stow/vim/.vim/ftplugin/sh/snippets/template.txt index 8b257fe..74e5658 100644 --- a/stow/vim/.vim/ftplugin/sh/snippets/template.txt +++ b/stow/vim/.vim/ftplugin/sh/snippets/template.txt @@ -17,7 +17,7 @@ errorAndUsage() { } # Process options -while getopts ':ab:c' opt; do +while getopts 'ab:c' opt; do case $opt in 'a' ) diff --git a/stow/vim/.vim/ftplugin/vimwiki/snips/template.txt b/stow/vim/.vim/ftplugin/vimwiki/snips/template.txt index 2577d85..94d4229 100644 --- a/stow/vim/.vim/ftplugin/vimwiki/snips/template.txt +++ b/stow/vim/.vim/ftplugin/vimwiki/snips/template.txt @@ -1,6 +1,6 @@ --- header-includes: - - \usepackage[margin=1.5in]{geometry} + - \usepackage[a4paper, margin=1.5in]{geometry} - \pagenumbering{gobble} lang: es-ES -- cgit v1.2.1