a lot...just a lot

This commit is contained in:
Chris Cochrun 2024-01-03 10:34:06 -06:00
parent 96f1027e62
commit 6534c2b145
8 changed files with 97 additions and 89 deletions

View file

@ -5,7 +5,6 @@ set update.nag true
set update.nagwait 7
set update.lastnaggedversion 1.14.0
set update.checkintervalsecs 86400
set theme snazzy
set searchurls.gh https://github.com/search?utf8=✓&q=
set searchurls.y https://www.yewtu.be/search?q=
set searchurls.aw https://wiki.archlinux.org/index.php?search=
@ -62,7 +61,7 @@ command org-capture composite get_current_url | js -p tri.excmds.exclaim_quiet('
"" Unbind this key to rebind it later
unbind v
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim('mpv ' + url))
command mpv js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim('mpv --no-terminal' + '${url}'))
command torrent js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('transadd ' + url))
@ -72,9 +71,10 @@ command ytdl js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim
command aud js -p tri.excmds.shellescape(JS_ARG).then(url => tri.excmds.exclaim_quiet('dlaudio ' + url))
unbind t
"" Adding my own bindings
bind v hint -W mpv
bind v composite hint -pipe a href | js -p tri.excmds.shellescape(JS_ARG) | exclaim mpv --ontop --keepaspect-window
bind gt hint -W torrent
bind gv current_url mpv
bind ga hint -W aud
@ -88,6 +88,8 @@ bind m fillcmdline quickmark
bind O fillcmdline tabopen
bind gh hint -h
bind <C-s> fillcmdline tabgroupswitch
bind tm fillcmdline tabgroupmove
bind ts fillcmdline tabgroupswitch
"" buffers show as windows
bind b fillcmdline taball
@ -99,4 +101,6 @@ bind --mode=ex <C-j> ex.next_completion
bind --mode=ex <C-k> ex.prev_completion
"" unbind Ctrl-F
unbind <C-f>
unbind <C-f>
set theme snazzy