X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/bf37356a73520b13796d8857e6cfaaaca9ed9f34..0d89e0b38f04e0dc6fd0e2b51efa044bd3ccfc5a:/qutebrowser/keys.conf?ds=sidebyside diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf index 4b7e613..534a729 100644 --- a/qutebrowser/keys.conf +++ b/qutebrowser/keys.conf @@ -1,6 +1,6 @@ # vim: ft=conf # -# In this config file, qutebrowser's keybindings are configured. +# In this config file, qutebrowser's key bindings are configured. # The format looks like this: # # [keymode] @@ -13,8 +13,8 @@ # All blank lines and lines starting with '#' are ignored. # Inline-comments are not permitted. # -# keymode is a comma separated list of modes in which the keybinding should be -# active. If keymode starts with !, the keybinding is active in all modes +# keymode is a comma separated list of modes in which the key binding should be +# active. If keymode starts with !, the key binding is active in all modes # except the listed modes. # # For special keys (can't be part of a keychain), enclose them in `<`...`>`. @@ -26,68 +26,77 @@ # * Shift: `Shift` # # For simple keys (no `<>`-signs), a capital letter means the key is pressed -# with Shift. For special keys (with `<>`-signs), you need to explicitely add +# 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 `;;`. +# +# Note that default keybindings are always bound, and need to be explicitly +# unbound if you wish to remove them: +# +# +# keychain +# keychain2 +# ... [!normal] leave-mode - - + + [normal] # Keybindings for normal mode. -set-cmd-text ":open " +clear-keychain ;; search + + +set-cmd-text -s :open o -set-cmd-text ":open {url}" +set-cmd-text :open {url} go -set-cmd-text ":open -t " +set-cmd-text -s :open -t O -set-cmd-text ":open -t {url}" +set-cmd-text :open -t {url} gO -set-cmd-text ":open -b " +set-cmd-text -s :open -b xo -set-cmd-text ":open -b {url}" +set-cmd-text :open -b {url} xO -set-cmd-text ":open -w " +set-cmd-text -s :open -w wo -set-cmd-text ":open -w {url}" +set-cmd-text :open -w {url} wO -open -t about:blank - +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 +113,7 @@ reload -f back H - + back -t th @@ -122,7 +131,7 @@ forward -w wl fullscreen - + hint f @@ -136,6 +145,9 @@ hint all window hint all tab-bg ;b +hint all tab-fg + ;f + hint all hover ;h @@ -148,13 +160,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 @@ -163,30 +175,30 @@ hint links yank hint links yank-primary ;Y -hint links rapid +hint --rapid links tab-bg ;r -hint links rapid-win +hint --rapid links window ;R hint links download ;d -scroll -50 0 +scroll left h -scroll 0 50 +scroll down j -scroll 0 -50 +scroll up k -scroll 50 0 +scroll right l undo u - + scroll-perc 0 gg @@ -203,58 +215,79 @@ 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 ":quickmark-load " +set-cmd-text -s :quickmark-load b -set-cmd-text ":quickmark-load -t " +set-cmd-text -s :quickmark-load -t B -set-cmd-text ":quickmark-load -w" +set-cmd-text -s :quickmark-load -w wb +bookmark-add + M + +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 -set-cmd-text ":set " +set-cmd-text -s :set ss -set-cmd-text ":set -t " +set-cmd-text -s :set -t sl -set-cmd-text ":set keybind " +set-cmd-text -s :set keybind sk zoom-out @@ -285,92 +318,147 @@ navigate up -t gU navigate increment - + navigate decrement - + inspector wi -download-page +download gd -cancel-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 +follow-selected + + + + + + + +follow-selected -t + + + +tab-only + co + +open -w + + +enter-mode set_mark + ` + +enter-mode jump_mark + ' + +yank pretty-url + yp + +yank pretty-url -s + yP + +hint inputs + ;t + +repeat-command + . + +set-cmd-text / + / + +set-cmd-text ? + ? + +set-cmd-text : + : + +tab-next + + [insert] # Keybindings for insert mode. # Since normal keypresses are passed through, only special keys are # 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. @@ -380,7 +468,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. @@ -389,28 +491,39 @@ follow-hint # 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-focus next-category + + +completion-item-focus prev-category + [prompt] # Keybindings for prompts in the status line. @@ -423,9 +536,12 @@ command-accept # * `prompt-no`: Answer no to a yes/no question. prompt-accept - - - + + + + + + prompt-yes y @@ -433,44 +549,131 @@ prompt-yes prompt-no n +prompt-open-download + + [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 + +move-to-next-line + j + +move-to-prev-line + k + +move-to-next-char + l + +move-to-prev-char + h + +move-to-end-of-word + e + +move-to-next-word + w + +move-to-prev-word + b + +move-to-start-of-next-block + ] + +move-to-start-of-prev-block + [ + +move-to-end-of-next-block + } + +move-to-end-of-prev-block + { + +move-to-start-of-line + 0 + +move-to-end-of-line + $ + +move-to-start-of-document + gg + +move-to-end-of-document + G + +yank selection -s + Y + +yank selection + y + + + + + + + +scroll left + H + +scroll down + J + +scroll up + K + +scroll right + L