Add bookmark to buku from qutebrowser
This commit is contained in:
parent
a83d18a5dc
commit
6db055f77a
@ -555,231 +555,228 @@ c.url.start_pages = ['https://start.duckduckgo.com']
|
||||
* Bindings
|
||||
** Normal Mode
|
||||
#+BEGIN_SRC conf
|
||||
# config.bind("'", 'enter-mode jump_mark')
|
||||
# config.bind("'", 'enter-mode jump_mark')
|
||||
|
||||
# config.bind('+', 'zoom-in')
|
||||
# config.bind('-', 'zoom-out')
|
||||
# config.bind('+', 'zoom-in')
|
||||
# config.bind('-', 'zoom-out')
|
||||
|
||||
# config.bind('.', 'repeat-command')
|
||||
# config.bind('/', 'set-cmd-text /')
|
||||
# config.bind(':', 'set-cmd-text :')
|
||||
# config.bind('.', 'repeat-command')
|
||||
# config.bind('/', 'set-cmd-text /')
|
||||
# config.bind(':', 'set-cmd-text :')
|
||||
|
||||
# config.bind(';I', 'hint images tab')
|
||||
# config.bind(';O', 'hint links fill :open -t -r {hint-url}')
|
||||
# config.bind(';R', 'hint --rapid links window')
|
||||
# config.bind(';Y', 'hint links yank-primary')
|
||||
# config.bind(';b', 'hint all tab-bg')
|
||||
# config.bind(';d', 'hint links download')
|
||||
# config.bind(';f', 'hint all tab-fg')
|
||||
# config.bind(';h', 'hint all hover')
|
||||
# config.bind(';i', 'hint images')
|
||||
# config.bind(';o', 'hint links fill :open {hint-url}')
|
||||
# config.bind(';r', 'hint --rapid links tab-bg')
|
||||
# config.bind(';t', 'hint inputs')
|
||||
# config.bind(';y', 'hint links yank')
|
||||
# config.bind(';I', 'hint images tab')
|
||||
# config.bind(';O', 'hint links fill :open -t -r {hint-url}')
|
||||
# config.bind(';R', 'hint --rapid links window')
|
||||
# config.bind(';Y', 'hint links yank-primary')
|
||||
# config.bind(';b', 'hint all tab-bg')
|
||||
# config.bind(';d', 'hint links download')
|
||||
# config.bind(';f', 'hint all tab-fg')
|
||||
# config.bind(';h', 'hint all hover')
|
||||
# config.bind(';i', 'hint images')
|
||||
# config.bind(';o', 'hint links fill :open {hint-url}')
|
||||
# config.bind(';r', 'hint --rapid links tab-bg')
|
||||
# config.bind(';t', 'hint inputs')
|
||||
# config.bind(';y', 'hint links yank')
|
||||
|
||||
# config.bind('<Alt-1>', 'tab-focus 1')
|
||||
# config.bind('<Alt-2>', 'tab-focus 2')
|
||||
# config.bind('<Alt-3>', 'tab-focus 3')
|
||||
# config.bind('<Alt-4>', 'tab-focus 4')
|
||||
# config.bind('<Alt-5>', 'tab-focus 5')
|
||||
# config.bind('<Alt-6>', 'tab-focus 6')
|
||||
# config.bind('<Alt-7>', 'tab-focus 7')
|
||||
# config.bind('<Alt-8>', 'tab-focus 8')
|
||||
# config.bind('<Alt-9>', 'tab-focus -1')
|
||||
# config.bind('<Alt-m>', 'tab-mute')
|
||||
# config.bind('<Alt-1>', 'tab-focus 1')
|
||||
# config.bind('<Alt-2>', 'tab-focus 2')
|
||||
# config.bind('<Alt-3>', 'tab-focus 3')
|
||||
# config.bind('<Alt-4>', 'tab-focus 4')
|
||||
# config.bind('<Alt-5>', 'tab-focus 5')
|
||||
# config.bind('<Alt-6>', 'tab-focus 6')
|
||||
# config.bind('<Alt-7>', 'tab-focus 7')
|
||||
# config.bind('<Alt-8>', 'tab-focus 8')
|
||||
# config.bind('<Alt-9>', 'tab-focus -1')
|
||||
# config.bind('<Alt-m>', 'tab-mute')
|
||||
|
||||
# config.bind('<Ctrl-A>', 'navigate increment')
|
||||
# config.bind('<Ctrl-A>', 'navigate increment')
|
||||
|
||||
# config.bind('<Ctrl-Alt-p>', 'print')
|
||||
# config.bind('<Ctrl-Alt-p>', 'print')
|
||||
|
||||
# config.bind('<Ctrl-B>', 'scroll-page 0 -1')
|
||||
# config.bind('<Ctrl-D>', 'scroll-page 0 0.5')
|
||||
# config.bind('<Ctrl-F5>', 'reload -f')
|
||||
# config.bind('<Ctrl-F>', 'scroll-page 0 1')
|
||||
# config.bind('<Ctrl-N>', 'open -w')
|
||||
# config.bind('<Ctrl-PgDown>', 'tab-next')
|
||||
# config.bind('<Ctrl-PgUp>', 'tab-prev')
|
||||
# config.bind('<Ctrl-Q>', 'quit')
|
||||
# config.bind('<Ctrl-Return>', 'follow-selected -t')
|
||||
# config.bind('<Ctrl-Shift-N>', 'open -p')
|
||||
# config.bind('<Ctrl-Shift-T>', 'undo')
|
||||
# config.bind('<Ctrl-Shift-Tab>', 'nop')
|
||||
# config.bind('<Ctrl-Shift-W>', 'close')
|
||||
# config.bind('<Ctrl-T>', 'open -t')
|
||||
# config.bind('<Ctrl-Tab>', 'tab-focus last')
|
||||
# config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
|
||||
# config.bind('<Ctrl-V>', 'enter-mode passthrough')
|
||||
# config.bind('<Ctrl-W>', 'tab-close')
|
||||
# config.bind('<Ctrl-X>', 'navigate decrement')
|
||||
# config.bind('<Ctrl-^>', 'tab-focus last')
|
||||
# config.bind('<Ctrl-h>', 'home')
|
||||
# config.bind('<Ctrl-p>', 'tab-pin')
|
||||
# config.bind('<Ctrl-s>', 'stop')
|
||||
# config.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave')
|
||||
# config.bind('<F11>', 'fullscreen')
|
||||
# config.bind('<F5>', 'reload')
|
||||
# config.bind('<Return>', 'follow-selected')
|
||||
# config.bind('<back>', 'back')
|
||||
# config.bind('<forward>', 'forward')
|
||||
# config.bind('=', 'zoom')
|
||||
# config.bind('?', 'set-cmd-text ?')
|
||||
# config.bind('@', 'run-macro')
|
||||
# config.bind('B', 'set-cmd-text -s :quickmark-load -t')
|
||||
# config.bind('D', 'tab-close -o')
|
||||
# config.bind('F', 'hint all tab')
|
||||
# config.bind('G', 'scroll-to-perc')
|
||||
# config.bind('H', 'back')
|
||||
# config.bind('J', 'tab-next')
|
||||
# config.bind('K', 'tab-prev')
|
||||
# config.bind('L', 'forward')
|
||||
# config.bind('M', 'bookmark-add')
|
||||
# config.bind('N', 'search-prev')
|
||||
# config.bind('O', 'set-cmd-text -s :open -t')
|
||||
# config.bind('PP', 'open -t -- {primary}')
|
||||
# config.bind('Pp', 'open -t -- {clipboard}')
|
||||
# config.bind('R', 'reload -f')
|
||||
# config.bind('Sb', 'open qute://bookmarks#bookmarks')
|
||||
# config.bind('Sh', 'open qute://history')
|
||||
# config.bind('Sq', 'open qute://bookmarks')
|
||||
# config.bind('Ss', 'open qute://settings')
|
||||
# config.bind('T', 'tab-focus')
|
||||
# config.bind('ZQ', 'quit')
|
||||
# config.bind('ZZ', 'quit --save')
|
||||
# config.bind('[[', 'navigate prev')
|
||||
# config.bind(']]', 'navigate next')
|
||||
# config.bind('`', 'enter-mode set_mark')
|
||||
# config.bind('ad', 'download-cancel')
|
||||
# config.bind('b', 'set-cmd-text -s :quickmark-load')
|
||||
# config.bind('cd', 'download-clear')
|
||||
# config.bind('co', 'tab-only')
|
||||
# config.bind('d', 'tab-close')
|
||||
# config.bind('f', 'hint')
|
||||
# config.bind('g$', 'tab-focus -1')
|
||||
# config.bind('g0', 'tab-focus 1')
|
||||
# config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
|
||||
# config.bind('gC', 'tab-clone')
|
||||
# config.bind('gD', 'tab-give')
|
||||
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
|
||||
# config.bind('gU', 'navigate up -t')
|
||||
# config.bind('g^', 'tab-focus 1')
|
||||
# config.bind('ga', 'open -t')
|
||||
# config.bind('gb', 'set-cmd-text -s :bookmark-load')
|
||||
# config.bind('gd', 'download')
|
||||
# config.bind('gf', 'view-source')
|
||||
# config.bind('gg', 'scroll-to-perc 0')
|
||||
# config.bind('gi', 'hint inputs --first')
|
||||
# config.bind('gl', 'tab-move -')
|
||||
# config.bind('gm', 'tab-move')
|
||||
# config.bind('go', 'set-cmd-text :open {url:pretty}')
|
||||
# config.bind('gr', 'tab-move +')
|
||||
# config.bind('gt', 'set-cmd-text -s :buffer')
|
||||
# config.bind('gu', 'navigate up')
|
||||
# config.bind('<Ctrl-B>', 'scroll-page 0 -1')
|
||||
# config.bind('<Ctrl-D>', 'scroll-page 0 0.5')
|
||||
# config.bind('<Ctrl-F5>', 'reload -f')
|
||||
# config.bind('<Ctrl-F>', 'scroll-page 0 1')
|
||||
# config.bind('<Ctrl-N>', 'open -w')
|
||||
# config.bind('<Ctrl-PgDown>', 'tab-next')
|
||||
# config.bind('<Ctrl-PgUp>', 'tab-prev')
|
||||
# config.bind('<Ctrl-Q>', 'quit')
|
||||
# config.bind('<Ctrl-Return>', 'follow-selected -t')
|
||||
# config.bind('<Ctrl-Shift-N>', 'open -p')
|
||||
# config.bind('<Ctrl-Shift-T>', 'undo')
|
||||
# config.bind('<Ctrl-Shift-Tab>', 'nop')
|
||||
# config.bind('<Ctrl-Shift-W>', 'close')
|
||||
# config.bind('<Ctrl-T>', 'open -t')
|
||||
# config.bind('<Ctrl-Tab>', 'tab-focus last')
|
||||
# config.bind('<Ctrl-U>', 'scroll-page 0 -0.5')
|
||||
# config.bind('<Ctrl-V>', 'enter-mode passthrough')
|
||||
# config.bind('<Ctrl-W>', 'tab-close')
|
||||
# config.bind('<Ctrl-X>', 'navigate decrement')
|
||||
# config.bind('<Ctrl-^>', 'tab-focus last')
|
||||
# config.bind('<Ctrl-h>', 'home')
|
||||
# config.bind('<Ctrl-p>', 'tab-pin')
|
||||
# config.bind('<Ctrl-s>', 'stop')
|
||||
# config.bind('<Escape>', 'clear-keychain ;; search ;; fullscreen --leave')
|
||||
# config.bind('<F11>', 'fullscreen')
|
||||
# config.bind('<F5>', 'reload')
|
||||
# config.bind('<Return>', 'follow-selected')
|
||||
# config.bind('<back>', 'back')
|
||||
# config.bind('<forward>', 'forward')
|
||||
# config.bind('=', 'zoom')
|
||||
# config.bind('?', 'set-cmd-text ?')
|
||||
# config.bind('@', 'run-macro')
|
||||
# config.bind('B', 'set-cmd-text -s :quickmark-load -t')
|
||||
# config.bind('D', 'tab-close -o')
|
||||
# config.bind('F', 'hint all tab')
|
||||
# config.bind('G', 'scroll-to-perc')
|
||||
# config.bind('H', 'back')
|
||||
# config.bind('J', 'tab-next')
|
||||
# config.bind('K', 'tab-prev')
|
||||
# config.bind('L', 'forward')
|
||||
# config.bind('M', 'bookmark-add')
|
||||
# config.bind('N', 'search-prev')
|
||||
# config.bind('O', 'set-cmd-text -s :open -t')
|
||||
# config.bind('PP', 'open -t -- {primary}')
|
||||
# config.bind('Pp', 'open -t -- {clipboard}')
|
||||
# config.bind('R', 'reload -f')
|
||||
# config.bind('Sb', 'open qute://bookmarks#bookmarks')
|
||||
# config.bind('Sh', 'open qute://history')
|
||||
# config.bind('Sq', 'open qute://bookmarks')
|
||||
# config.bind('Ss', 'open qute://settings')
|
||||
# config.bind('T', 'tab-focus')
|
||||
# config.bind('ZQ', 'quit')
|
||||
# config.bind('ZZ', 'quit --save')
|
||||
# config.bind('[[', 'navigate prev')
|
||||
# config.bind(']]', 'navigate next')
|
||||
# config.bind('`', 'enter-mode set_mark')
|
||||
# config.bind('ad', 'download-cancel')
|
||||
# config.bind('b', 'set-cmd-text -s :quickmark-load')
|
||||
# config.bind('cd', 'download-clear')
|
||||
# config.bind('co', 'tab-only')
|
||||
# config.bind('d', 'tab-close')
|
||||
# config.bind('f', 'hint')
|
||||
# config.bind('g$', 'tab-focus -1')
|
||||
# config.bind('g0', 'tab-focus 1')
|
||||
# config.bind('gB', 'set-cmd-text -s :bookmark-load -t')
|
||||
# config.bind('gC', 'tab-clone')
|
||||
# config.bind('gD', 'tab-give')
|
||||
# config.bind('gO', 'set-cmd-text :open -t -r {url:pretty}')
|
||||
# config.bind('gU', 'navigate up -t')
|
||||
# config.bind('g^', 'tab-focus 1')
|
||||
# config.bind('ga', 'open -t')
|
||||
# config.bind('gb', 'set-cmd-text -s :bookmark-load')
|
||||
# config.bind('gd', 'download')
|
||||
# config.bind('gf', 'view-source')
|
||||
# config.bind('gg', 'scroll-to-perc 0')
|
||||
# config.bind('gi', 'hint inputs --first')
|
||||
# config.bind('gl', 'tab-move -')
|
||||
# config.bind('gm', 'tab-move')
|
||||
# config.bind('go', 'set-cmd-text :open {url:pretty}')
|
||||
# config.bind('gr', 'tab-move +')
|
||||
# config.bind('gt', 'set-cmd-text -s :buffer')
|
||||
# config.bind('gu', 'navigate up')
|
||||
|
||||
# Move tabs around
|
||||
config.bind('gK', 'tab-move -')
|
||||
config.bind('gJ', 'tab-move +')
|
||||
# Move tabs around
|
||||
config.bind('gK', 'tab-move -')
|
||||
config.bind('gJ', 'tab-move +')
|
||||
|
||||
# Go to specific websites
|
||||
config.bind('gy', 'open -o https://youtube.com/')
|
||||
|
||||
# Add current page to Buku (Bookmark Manager)
|
||||
# TODO - Add it interactively
|
||||
# Add a way to specify tags
|
||||
# Maybe use Rofi for that
|
||||
config.bind('B', 'spawn buku -a {url}')
|
||||
|
||||
# config.bind('h', 'scroll left')
|
||||
# config.bind('i', 'enter-mode insert')
|
||||
# config.bind('j', 'scroll down')
|
||||
# config.bind('k', 'scroll up')
|
||||
# config.bind('l', 'scroll right')
|
||||
# config.bind('m', 'quickmark-save')
|
||||
# config.bind('n', 'search-next')
|
||||
# config.bind('o', 'set-cmd-text -s :open')
|
||||
# config.bind('pP', 'open -- {primary}')
|
||||
# config.bind('pp', 'open -- {clipboard}')
|
||||
# config.bind('q', 'record-macro')
|
||||
# config.bind('r', 'reload')
|
||||
# config.bind('sf', 'save')
|
||||
# config.bind('sk', 'set-cmd-text -s :bind')
|
||||
# config.bind('sl', 'set-cmd-text -s :set -t')
|
||||
# config.bind('ss', 'set-cmd-text -s :set')
|
||||
# config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
|
||||
# config.bind('tPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPu', 'config-cycle -p -u {url} content.plugins ;; reload')
|
||||
# config.bind('tSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
|
||||
# config.bind('th', 'back -t')
|
||||
# config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tiu', 'config-cycle -p -t -u {url} content.images ;; reload')
|
||||
# config.bind('tl', 'forward -t')
|
||||
# config.bind('tpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tpu', 'config-cycle -p -t -u {url} content.plugins ;; reload')
|
||||
# config.bind('tsH', 'config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tsh', 'config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tsu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload')
|
||||
# config.bind('u', 'undo')
|
||||
# config.bind('v', 'enter-mode caret')
|
||||
# config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
|
||||
# config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
|
||||
# config.bind('wP', 'open -w -- {primary}')
|
||||
# config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
|
||||
# config.bind('wf', 'hint all window')
|
||||
# config.bind('wh', 'back -w')
|
||||
# config.bind('wi', 'inspector')
|
||||
# config.bind('wl', 'forward -w')
|
||||
# config.bind('wo', 'set-cmd-text -s :open -w')
|
||||
# config.bind('wp', 'open -w -- {clipboard}')
|
||||
# config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
|
||||
# config.bind('xo', 'set-cmd-text -s :open -b')
|
||||
# config.bind('yD', 'yank domain -s')
|
||||
# config.bind('yP', 'yank pretty-url -s')
|
||||
# config.bind('yT', 'yank title -s')
|
||||
# config.bind('yY', 'yank -s')
|
||||
# config.bind('yd', 'yank domain')
|
||||
# config.bind('yp', 'yank pretty-url')
|
||||
# config.bind('yt', 'yank title')
|
||||
# config.bind('yy', 'yank')
|
||||
# config.bind('{{', 'navigate prev -t')
|
||||
# config.bind('}}', 'navigate next -t')
|
||||
# config.bind('h', 'scroll left')
|
||||
# config.bind('i', 'enter-mode insert')
|
||||
# config.bind('j', 'scroll down')
|
||||
# config.bind('k', 'scroll up')
|
||||
# config.bind('l', 'scroll right')
|
||||
# config.bind('m', 'quickmark-save')
|
||||
# config.bind('n', 'search-next')
|
||||
# config.bind('o', 'set-cmd-text -s :open')
|
||||
# config.bind('pP', 'open -- {primary}')
|
||||
# config.bind('pp', 'open -- {clipboard}')
|
||||
# config.bind('q', 'record-macro')
|
||||
# config.bind('r', 'reload')
|
||||
# config.bind('sf', 'save')
|
||||
# config.bind('sk', 'set-cmd-text -s :bind')
|
||||
# config.bind('sl', 'set-cmd-text -s :set -t')
|
||||
# config.bind('ss', 'set-cmd-text -s :set')
|
||||
# config.bind('tIH', 'config-cycle -p -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIh', 'config-cycle -p -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tIu', 'config-cycle -p -u {url} content.images ;; reload')
|
||||
# config.bind('tPH', 'config-cycle -p -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPh', 'config-cycle -p -u *://{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tPu', 'config-cycle -p -u {url} content.plugins ;; reload')
|
||||
# config.bind('tSH', 'config-cycle -p -u *://*.{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tSh', 'config-cycle -p -u *://{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tSu', 'config-cycle -p -u {url} content.javascript.enabled ;; reload')
|
||||
# config.bind('th', 'back -t')
|
||||
# config.bind('tiH', 'config-cycle -p -t -u *://*.{url:host}/* content.images ;; reload')
|
||||
# config.bind('tih', 'config-cycle -p -t -u *://{url:host}/* content.images ;; reload')
|
||||
# config.bind('tiu', 'config-cycle -p -t -u {url} content.images ;; reload')
|
||||
# config.bind('tl', 'forward -t')
|
||||
# config.bind('tpH', 'config-cycle -p -t -u *://*.{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tph', 'config-cycle -p -t -u *://{url:host}/* content.plugins ;; reload')
|
||||
# config.bind('tpu', 'config-cycle -p -t -u {url} content.plugins ;; reload')
|
||||
# config.bind('tsH', 'config-cycle -p -t -u *://*.{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tsh', 'config-cycle -p -t -u *://{url:host}/* content.javascript.enabled ;; reload')
|
||||
# config.bind('tsu', 'config-cycle -p -t -u {url} content.javascript.enabled ;; reload')
|
||||
# config.bind('u', 'undo')
|
||||
# config.bind('v', 'enter-mode caret')
|
||||
# config.bind('wB', 'set-cmd-text -s :bookmark-load -w')
|
||||
# config.bind('wO', 'set-cmd-text :open -w {url:pretty}')
|
||||
# config.bind('wP', 'open -w -- {primary}')
|
||||
# config.bind('wb', 'set-cmd-text -s :quickmark-load -w')
|
||||
# config.bind('wf', 'hint all window')
|
||||
# config.bind('wh', 'back -w')
|
||||
# config.bind('wi', 'inspector')
|
||||
# config.bind('wl', 'forward -w')
|
||||
# config.bind('wo', 'set-cmd-text -s :open -w')
|
||||
# config.bind('wp', 'open -w -- {clipboard}')
|
||||
# config.bind('xO', 'set-cmd-text :open -b -r {url:pretty}')
|
||||
# config.bind('xo', 'set-cmd-text -s :open -b')
|
||||
# config.bind('yD', 'yank domain -s')
|
||||
# config.bind('yP', 'yank pretty-url -s')
|
||||
# config.bind('yT', 'yank title -s')
|
||||
# config.bind('yY', 'yank -s')
|
||||
# config.bind('yd', 'yank domain')
|
||||
# config.bind('yp', 'yank pretty-url')
|
||||
# config.bind('yt', 'yank title')
|
||||
# config.bind('yy', 'yank')
|
||||
# config.bind('{{', 'navigate prev -t')
|
||||
# config.bind('}}', 'navigate next -t')
|
||||
#+END_SRC
|
||||
|
||||
*** Go to specific websites
|
||||
#+begin_src conf
|
||||
config.bind('gy', 'open -o https://www.youtube.com/feed/subscriptions')
|
||||
config.bind('gr', 'open -o https://www.reddit.com/')
|
||||
#+end_src
|
||||
|
||||
** Caret mode
|
||||
#+BEGIN_SRC conf
|
||||
# config.bind('$', 'move-to-end-of-line', mode='caret')
|
||||
# config.bind('0', 'move-to-start-of-line', mode='caret')
|
||||
# config.bind('<Ctrl-Space>', 'drop-selection', mode='caret')
|
||||
# config.bind('<Escape>', 'leave-mode', mode='caret')
|
||||
# config.bind('<Return>', 'yank selection', mode='caret')
|
||||
# config.bind('<Space>', 'toggle-selection', mode='caret')
|
||||
# config.bind('G', 'move-to-end-of-document', mode='caret')
|
||||
# config.bind('H', 'scroll left', mode='caret')
|
||||
# config.bind('J', 'scroll down', mode='caret')
|
||||
# config.bind('K', 'scroll up', mode='caret')
|
||||
# config.bind('L', 'scroll right', mode='caret')
|
||||
# config.bind('Y', 'yank selection -s', mode='caret')
|
||||
# config.bind('[', 'move-to-start-of-prev-block', mode='caret')
|
||||
# config.bind(']', 'move-to-start-of-next-block', mode='caret')
|
||||
# config.bind('b', 'move-to-prev-word', mode='caret')
|
||||
# config.bind('c', 'enter-mode normal', mode='caret')
|
||||
# config.bind('e', 'move-to-end-of-word', mode='caret')
|
||||
# config.bind('gg', 'move-to-start-of-document', mode='caret')
|
||||
# config.bind('h', 'move-to-prev-char', mode='caret')
|
||||
# config.bind('j', 'move-to-next-line', mode='caret')
|
||||
# config.bind('k', 'move-to-prev-line', mode='caret')
|
||||
# config.bind('l', 'move-to-next-char', mode='caret')
|
||||
# config.bind('v', 'toggle-selection', mode='caret')
|
||||
# config.bind('w', 'move-to-next-word', mode='caret')
|
||||
# config.bind('y', 'yank selection', mode='caret')
|
||||
# config.bind('{', 'move-to-end-of-prev-block', mode='caret')
|
||||
# config.bind('}', 'move-to-end-of-next-block', mode='caret')
|
||||
# config.bind('$', 'move-to-end-of-line', mode='caret')
|
||||
# config.bind('0', 'move-to-start-of-line', mode='caret')
|
||||
# config.bind('<Ctrl-Space>', 'drop-selection', mode='caret')
|
||||
# config.bind('<Escape>', 'leave-mode', mode='caret')
|
||||
# config.bind('<Return>', 'yank selection', mode='caret')
|
||||
# config.bind('<Space>', 'toggle-selection', mode='caret')
|
||||
# config.bind('G', 'move-to-end-of-document', mode='caret')
|
||||
# config.bind('H', 'scroll left', mode='caret')
|
||||
# config.bind('J', 'scroll down', mode='caret')
|
||||
# config.bind('K', 'scroll up', mode='caret')
|
||||
# config.bind('L', 'scroll right', mode='caret')
|
||||
# config.bind('Y', 'yank selection -s', mode='caret')
|
||||
# config.bind('[', 'move-to-start-of-prev-block', mode='caret')
|
||||
# config.bind(']', 'move-to-start-of-next-block', mode='caret')
|
||||
# config.bind('b', 'move-to-prev-word', mode='caret')
|
||||
# config.bind('c', 'enter-mode normal', mode='caret')
|
||||
# config.bind('e', 'move-to-end-of-word', mode='caret')
|
||||
# config.bind('gg', 'move-to-start-of-document', mode='caret')
|
||||
# config.bind('h', 'move-to-prev-char', mode='caret')
|
||||
# config.bind('j', 'move-to-next-line', mode='caret')
|
||||
# config.bind('k', 'move-to-prev-line', mode='caret')
|
||||
# config.bind('l', 'move-to-next-char', mode='caret')
|
||||
# config.bind('v', 'toggle-selection', mode='caret')
|
||||
# config.bind('w', 'move-to-next-word', mode='caret')
|
||||
# config.bind('y', 'yank selection', mode='caret')
|
||||
# config.bind('{', 'move-to-end-of-prev-block', mode='caret')
|
||||
# config.bind('}', 'move-to-end-of-next-block', mode='caret')
|
||||
#+END_SRC
|
||||
|
||||
** Bindings for command mode
|
||||
@ -882,29 +879,39 @@ config.bind('B', 'spawn buku -a {url}')
|
||||
** Custom Bindings
|
||||
Use Pass to fill password and username
|
||||
#+BEGIN_SRC conf
|
||||
config.bind(',p', 'spawn --userscript password_fill')
|
||||
config.bind(',p', 'spawn --userscript password_fill')
|
||||
#+END_SRC
|
||||
|
||||
Open Youtube video using MPV
|
||||
#+BEGIN_SRC conf
|
||||
config.bind(',m', 'spawn mpv {url}')
|
||||
config.bind(',M', ':hint links spawn mpv {hint-url}')
|
||||
config.bind(',m', 'spawn mpv {url}')
|
||||
config.bind(',M', ':hint links spawn mpv {hint-url}')
|
||||
#+END_SRC
|
||||
|
||||
Cast to Chromecast
|
||||
#+BEGIN_SRC conf
|
||||
config.bind(',c', ':hint links spawn catt cast {hint-url}')
|
||||
config.bind(',c', ':hint links spawn catt cast {hint-url}')
|
||||
#+END_SRC
|
||||
|
||||
Add url to refile.org
|
||||
#+BEGIN_SRC conf
|
||||
config.bind(',r', ':spawn --userscript ~/.config/qutebrowser/userscripts/test.sh')
|
||||
config.bind(',r', ':spawn --userscript ~/.config/qutebrowser/userscripts/add-to-orgmode-refile.sh')
|
||||
#+END_SRC
|
||||
|
||||
Add page to Bookmarks
|
||||
#+begin_src conf
|
||||
config.bind(',b', 'spawn buku -a {url}')
|
||||
#+end_src
|
||||
|
||||
Open bookmark using buku
|
||||
#+begin_src conf
|
||||
config.bind(',o', 'spawn ~/bin/buku_run')
|
||||
#+end_src
|
||||
|
||||
* Userscripts
|
||||
** TODO Add url to refile.org
|
||||
** Add url to refile.org
|
||||
:PROPERTIES:
|
||||
:header-args: :tangle ~/.config/qutebrowser/userscripts/test.sh
|
||||
:header-args: :tangle ~/.config/qutebrowser/userscripts/add-to-orgmode-refile.sh
|
||||
:header-args+: :comments both :mkdirp yes
|
||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||
:END:
|
||||
|
@ -135,12 +135,11 @@ Plug 'vim-scripts/utl.vim' " Univeral Text Linking - Execute URLs, footnotes, op
|
||||
|
||||
** Others / To test
|
||||
#+BEGIN_SRC conf
|
||||
Plug 'petRUShka/vim-sage' " Support for Sage computation language
|
||||
" Plug 'francoiscabrol/ranger.vim' " Ranger integration in vim and neovim
|
||||
" Plug 'brooth/far.vim' " Find And Replace Vim plugin
|
||||
" Plug 'justinmk/vim-gtfo' " Go to Terminal or File manager
|
||||
" Plug 'brooth/far.vim' " Find And Replace Vim plugin
|
||||
" Plug 'justinmk/vim-gtfo' " Go to Terminal or File manager
|
||||
" Plug 'sjl/gundo.vim', { 'on': 'GundoToggle' } " Vim plugin to visualize your Vim undo tree
|
||||
" Plug 'drzel/vim-line-no-indicator' " Simple and expressive line number indicator
|
||||
" Plug 'drzel/vim-line-no-indicator' " Simple and expressive line number indicator
|
||||
#+END_SRC
|
||||
|
||||
** Plug End
|
||||
|
Loading…
Reference in New Issue
Block a user