Add bookmark to buku from qutebrowser
This commit is contained in:
parent
a83d18a5dc
commit
6db055f77a
@ -680,15 +680,6 @@ c.url.start_pages = ['https://start.duckduckgo.com']
|
|||||||
config.bind('gK', 'tab-move -')
|
config.bind('gK', 'tab-move -')
|
||||||
config.bind('gJ', '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('h', 'scroll left')
|
||||||
# config.bind('i', 'enter-mode insert')
|
# config.bind('i', 'enter-mode insert')
|
||||||
# config.bind('j', 'scroll down')
|
# config.bind('j', 'scroll down')
|
||||||
@ -751,6 +742,12 @@ config.bind('B', 'spawn buku -a {url}')
|
|||||||
# config.bind('}}', 'navigate next -t')
|
# config.bind('}}', 'navigate next -t')
|
||||||
#+END_SRC
|
#+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
|
** Caret mode
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
# config.bind('$', 'move-to-end-of-line', mode='caret')
|
# config.bind('$', 'move-to-end-of-line', mode='caret')
|
||||||
@ -898,13 +895,23 @@ config.bind(',c', ':hint links spawn catt cast {hint-url}')
|
|||||||
|
|
||||||
Add url to refile.org
|
Add url to refile.org
|
||||||
#+BEGIN_SRC conf
|
#+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
|
#+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
|
* Userscripts
|
||||||
** TODO Add url to refile.org
|
** Add url to refile.org
|
||||||
:PROPERTIES:
|
: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+: :comments both :mkdirp yes
|
||||||
:header-args+: :shebang "#!/usr/bin/env bash"
|
:header-args+: :shebang "#!/usr/bin/env bash"
|
||||||
:END:
|
:END:
|
||||||
|
@ -135,7 +135,6 @@ Plug 'vim-scripts/utl.vim' " Univeral Text Linking - Execute URLs, footnotes, op
|
|||||||
|
|
||||||
** Others / To test
|
** Others / To test
|
||||||
#+BEGIN_SRC conf
|
#+BEGIN_SRC conf
|
||||||
Plug 'petRUShka/vim-sage' " Support for Sage computation language
|
|
||||||
" Plug 'francoiscabrol/ranger.vim' " Ranger integration in vim and neovim
|
" Plug 'francoiscabrol/ranger.vim' " Ranger integration in vim and neovim
|
||||||
" Plug 'brooth/far.vim' " Find And Replace Vim plugin
|
" Plug 'brooth/far.vim' " Find And Replace Vim plugin
|
||||||
" Plug 'justinmk/vim-gtfo' " Go to Terminal or File manager
|
" Plug 'justinmk/vim-gtfo' " Go to Terminal or File manager
|
||||||
|
Loading…
Reference in New Issue
Block a user