X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/db1f5fdf0fa8ac1302a9901246895acaedae7dea..4f1cc137755e29eacf648f9ab03ad4be74f49d73:/qutebrowser/keys.conf diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 4833460..4f2b9d9 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -27,14 +27,21 @@ # # For simple keys (no `<>`-signs), a capital letter means the key is pressed # with Shift. For special keys (with `<>`-signs), you need to explicitly add -# `Shift-` to match a key pressed with shift. You can bind multiple commands -# by separating them with `;;`. +# `Shift-` to match a key pressed with shift. +# +# Note that default keybindings are always bound, and need to be explicitly +# unbound if you wish to remove them: +# +# +# keychain +# keychain2 +# ... [!normal] -clear-keychain ;; leave-mode - - +leave-mode + + [normal] # Keybindings for normal mode. @@ -64,30 +71,28 @@ set-cmd-text :open -w {url} wO open -t - + ga + tab-close d - + tab-close -o D tab-focus - T + K + gt tab-move gm tab-move - - gj + gl tab-move + - gk - -tab-next - K - gt + gr tab-prev J @@ -104,7 +109,7 @@ reload -f back H - + back -t th @@ -122,7 +127,7 @@ forward -w wl fullscreen - + hint f @@ -136,6 +141,9 @@ hint all window hint all tab-bg ;b +hint all tab-fg + ;f + hint all hover ;h @@ -148,13 +156,13 @@ hint images tab hint images tab-bg .i -hint links fill ":open {hint-url}" +hint links fill :open {hint-url} ;o -hint links fill ":open -t {hint-url}" +hint links fill :open -t {hint-url} ;O -hint links fill ":open -b {hint-url}" +hint links fill :open -b {hint-url} .o hint links yank @@ -186,7 +194,7 @@ scroll right undo u - + scroll-perc 0 gg @@ -203,48 +211,63 @@ search-prev enter-mode insert i +enter-mode caret + v + yank yy yank -s yY -yank -t +yank title yt -yank -ts +yank title -s yT -paste +yank domain + yd + +yank domain -s + yD + +open -- {clipboard} pp -paste -s +open -- {primary} pP -paste -t +open -t -- {clipboard} Pp -paste -ts +open -t -- {primary} PP -paste -w +open -w -- {clipboard} wp -paste -ws +open -w -- {primary} wP -quickmark-save - m - set-cmd-text -s :quickmark-load b set-cmd-text -s :quickmark-load -t B -set-cmd-text :quickmark-load -w +set-cmd-text -s :quickmark-load -w wb +set-cmd-text -s :bookmark-load + gb + +set-cmd-text -s :bookmark-load -t + gB + +set-cmd-text -s :bookmark-load -w + wB + save sf @@ -254,7 +277,7 @@ set-cmd-text -s :set set-cmd-text -s :set -t sl -set-cmd-text -s :set keybind +set-cmd-text -s :bind sk zoom-out @@ -285,10 +308,10 @@ navigate up -t gU navigate increment - + navigate decrement - + inspector wi @@ -299,113 +322,146 @@ download download-cancel ad +download-clear + cd + view-source gf tab-focus last - + enter-mode passthrough - + quit - + scroll-page 0 1 - + scroll-page 0 -1 - + scroll-page 0 0.5 - + scroll-page 0 -0.5 - + tab-focus 1 - + tab-focus 2 - + tab-focus 3 - + tab-focus 4 - + tab-focus 5 - + tab-focus 6 - + tab-focus 7 - + tab-focus 8 - + tab-focus 9 - + home - + stop - + print - + open qute:settings Ss -clear-keychain ;; search - +follow-selected + + + + + + + +follow-selected -t + + tab-only co -hint all tab-fg - ;f +open -w + -enter-mode caret - v +enter-mode set_mark + ` -yank -d - yd +enter-mode jump_mark + ' -yank -ds - yD +yank pretty-url + yp -bookmark-add - M +yank pretty-url -s + yP -set-cmd-text -s :bookmark-load - gb +hint inputs + ;t -set-cmd-text -s :bookmark-load -t - gB +repeat-command + . -set-cmd-text -s :bookmark-load -w - wB +set-cmd-text / + / -download-remove --all - cd +set-cmd-text ? + ? -follow-selected - - - - - - +set-cmd-text : + : -follow-selected -t - - +tab-next + + +record-macro + q + +run-macro + @ + +spawn mpv {url} + m + +hint links spawn mpv {url} + M + +clear-keychain ;; search ;; fullscreen --leave ;; fake-key + + +clear-keychain ;; search ;; fullscreen --leave + + +wq + ZZ + +tab-focus -1 + g$ + +tab-pin + [insert] # Keybindings for insert mode. @@ -413,9 +469,13 @@ follow-selected -t # supported in this mode. # Useful hidden commands to map in this section: # * `open-editor`: Open a texteditor with the focused field. +# * `paste-primary`: Paste primary selection at cursor position. open-editor - + + +insert-text {primary} + [hint] # Keybindings for hint mode. @@ -425,16 +485,21 @@ open-editor # * `follow-hint`: Follow the currently selected hint. follow-hint - + + + + + + hint --rapid links tab-bg - + hint links - + hint all tab-bg - + [command] # Keybindings for command mode. @@ -443,31 +508,39 @@ hint all tab-bg # Useful hidden commands to map in this section: # * `command-history-prev`: Switch to previous command in history. # * `command-history-next`: Switch to next command in history. -# * `completion-item-prev`: Select previous item in completion. -# * `completion-item-next`: Select next item in completion. +# * `completion-item-focus`: Select another item in completion. # * `command-accept`: Execute the command currently in the commandline. command-history-prev - + command-history-next - + -completion-item-prev - - +completion-item-focus prev + + -completion-item-next - - +completion-item-focus next + + + +completion-item-del + command-accept - - - + + + + + + -completion-item-del - +completion-item-focus next-category + + +completion-item-focus prev-category + [prompt] # Keybindings for prompts in the status line. @@ -476,69 +549,86 @@ completion-item-del # bind special keys. # Useful hidden commands to map in this section: # * `prompt-accept`: Confirm the entered value. -# * `prompt-yes`: Answer yes to a yes/no question. -# * `prompt-no`: Answer no to a yes/no question. +# * `prompt-accept yes`: Answer yes to a yes/no question. +# * `prompt-accept no`: Answer no to a yes/no question. prompt-accept - - - - -prompt-yes + + + + + + + +prompt-accept yes y -prompt-no +prompt-accept no n +prompt-open-download + + +prompt-item-focus prev + + + +prompt-item-focus next + + + [command,prompt] rl-backward-char - + rl-forward-char - + rl-backward-word - + rl-forward-word - + rl-beginning-of-line - + rl-end-of-line - + rl-unix-line-discard - + rl-kill-line - + rl-kill-word - + rl-unix-word-rubout - + + +rl-backward-kill-word + rl-yank - + rl-delete-char - + rl-backward-delete-char - + [caret] toggle-selection v - + drop-selection - + enter-mode normal c @@ -588,17 +678,17 @@ move-to-start-of-document move-to-end-of-document G -yank-selected -p +yank selection -s Y -yank-selected +yank selection y - - - - - - + + + + + + scroll left H