mirror of
https://github.com/Phantop/dotfiles
synced 2025-05-23 15:21:41 +00:00
qute: more arista conveniences
This commit is contained in:
parent
47f0997098
commit
71b031d30e
|
@ -2,7 +2,7 @@
|
||||||
rm -r ~/.config/fish/*
|
rm -r ~/.config/fish/*
|
||||||
stow --no-folding -d ~/.dotfiles -t ~/.config/fish fish
|
stow --no-folding -d ~/.dotfiles -t ~/.config/fish fish
|
||||||
|
|
||||||
fish_add_path -U /opt/homebrew/{opt/file-formula/,coreutils/libexec/gnu,}bin
|
fish_add_path -U /opt/homebrew/{opt/{file-formula/,coreutils/libexec/gnu},}bin
|
||||||
fish_add_path -U ~/{.dotfiles,.local,Games}/bin /usr/lib64/ccache/bin
|
fish_add_path -U ~/{.dotfiles,.local,Games}/bin /usr/lib64/ccache/bin
|
||||||
fish_add_path -U ~/.local/appdwarf/{,apps{,/bin}}
|
fish_add_path -U ~/.local/appdwarf/{,apps{,/bin}}
|
||||||
|
|
||||||
|
|
|
@ -1,14 +1,23 @@
|
||||||
c.url.searchengines['aid'] = 'http://aid/{}'
|
c.url.searchengines['a'] = 'http://aid/{}'
|
||||||
|
c.url.searchengines['aid'] = c.url.searchengines['a']
|
||||||
|
c.url.searchengines['bb'] = 'http://bb/{}'
|
||||||
|
c.url.searchengines['gcs'] = 'cloudsearch.google.com/cloudsearch?={}'
|
||||||
c.url.searchengines['go'] = 'http://go/{}'
|
c.url.searchengines['go'] = 'http://go/{}'
|
||||||
|
c.url.searchengines['grok'] = 'http://opengrok/source/search?project=eos-trunk&full={}'
|
||||||
c.url.searchengines['group'] = 'http://groups/{}'
|
c.url.searchengines['group'] = 'http://groups/{}'
|
||||||
c.url.searchengines['nav'] = 'tacnav.infra.corp.arista.io/tacnav?version=eos-trunk&targets={}'
|
c.url.searchengines['nav'] = 'tacnav.infra.corp.arista.io/tacnav?version=eos-trunk&targets={}'
|
||||||
c.url.searchengines['gcs'] = 'cloudsearch.google.com/cloudsearch?={}'
|
|
||||||
|
|
||||||
config.bind('A', ':cmd-set-text -s :open -t aid')
|
search = {
|
||||||
config.bind('a', ':cmd-set-text -s :open aid')
|
'a': 'aid',
|
||||||
config.bind('E', ':cmd-set-text -s :open -t go')
|
'b': 'bb',
|
||||||
config.bind('e', ':cmd-set-text -s :open go')
|
'e': 'go',
|
||||||
|
'tn': 'nav',
|
||||||
|
'z': 'grok',
|
||||||
|
'<Ctrl-g>': 'grok',
|
||||||
|
}
|
||||||
|
for a, b in search.items():
|
||||||
|
config.bind(a, ':cmd-set-text -s :open ' + b)
|
||||||
|
config.bind(a.upper(), ':cmd-set-text -s :open -t ' + b)
|
||||||
|
|
||||||
c.content.user_stylesheets = ['css/user.css']
|
|
||||||
c.fonts.default_size = '13pt'
|
c.fonts.default_size = '13pt'
|
||||||
c.url.default_page = 'https://docs.google.com/document/d/1LGHPp5h5lu-aCFSSZHOZkz5OZrJv5xd7jtq6Wsa3ZKU/mobilebasic'
|
c.url.default_page = 'http://go/cal'
|
||||||
|
|
3
qutebrowser/userscripts/fragment
Executable file
3
qutebrowser/userscripts/fragment
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
echo open "$QUTE_URL"'#:~:text='"$QUTE_SELECTED_TEXT" >> "$QUTE_FIFO"
|
||||||
|
echo yank >> "$QUTE_FIFO"
|
Loading…
Reference in a new issue