X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/762f287ef007ec4b6c0be07fa7814a5a48a6f52d..246f1822ec3d0d279906140c1e2db4f59a10187e:/qutebrowser/keys.conf?ds=inline diff --git a/qutebrowser/keys.conf b/qutebrowser/keys.conf new file mode 100644 index 0000000..d8d8c04 --- /dev/null +++ b/qutebrowser/keys.conf @@ -0,0 +1,484 @@ +# vim: ft=conf +# +# In this config file, qutebrowser's keybindings are configured. +# The format looks like this: +# +# [keymode] +# +# command +# keychain +# keychain2 +# ... +# +# 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 +# except the listed modes. +# +# For special keys (can't be part of a keychain), enclose them in `<`...`>`. +# For modifiers, you can use either `-` or `+` as delimiters, and these names: +# +# * Control: `Control`, `Ctrl` +# * Meta: `Meta`, `Windows`, `Mod4` +# * Alt: `Alt`, `Mod1` +# * 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 +# `Shift-` to match a key pressed with shift. You can bind multiple commands +# by separating them with `;;`. + +[!normal] + +leave-mode + + + +[normal] +# Keybindings for normal mode. + +set-cmd-text ":open " + o + +set-cmd-text ":open {url}" + go + +set-cmd-text ":open -t " + O + +set-cmd-text ":open -t {url}" + gO + +set-cmd-text ":open -b " + xo + +set-cmd-text ":open -b {url}" + xO + +set-cmd-text ":open -w " + wo + +set-cmd-text ":open -w {url}" + wO + +open -t about:blank + + +tab-close + d + + +tab-close -o + D + +tab-only + co + +tab-focus + T + +tab-move + gm + +tab-move - + gl + +tab-move + + gr + +tab-next + J + gt + +tab-prev + K + gT + +tab-clone + gC + +reload + r + +reload -f + R + +back + H + + +back -t + th + +back -w + wh + +forward + L + +forward -t + tl + +forward -w + wl + +fullscreen + + +hint + f + +hint all tab + F + +hint all window + wf + +hint all tab-bg + ;b + +hint all hover + ;h + +hint images + ;i + +hint images tab + ;I + +hint images tab-bg + .i + +hint links fill ":open {hint-url}" + ;o + +hint links fill ":open -t {hint-url}" + ;O + +hint links fill ":open -b {hint-url}" + .o + +hint links yank + ;y + +hint links yank-primary + ;Y + +hint links rapid + ;r + +hint links rapid-win + ;R + +hint links download + ;d + +scroll -50 0 + h + +scroll 0 50 + j + +scroll 0 -50 + k + +scroll 50 0 + l + +undo + u + + +scroll-perc 0 + gg + +scroll-perc + G + +search-next + n + +search-prev + N + +enter-mode insert + i + +yank + yy + +yank -s + yY + +yank -t + yt + +yank -ts + yT + +paste + pp + +paste -s + pP + +paste -t + Pp + +paste -ts + PP + +paste -w + wp + +paste -ws + wP + +quickmark-save + m + +set-cmd-text ":quickmark-load " + b + +set-cmd-text ":quickmark-load -t " + B + +set-cmd-text ":quickmark-load -w" + wb + +save + sf + +set-cmd-text ":set " + ss + +set-cmd-text ":set -t " + sl + +set-cmd-text ":set keybind " + sk + +zoom-out + - + +zoom-in + + + +zoom + = + +navigate prev + [[ + +navigate next + ]] + +navigate prev -t + {{ + +navigate next -t + }} + +navigate up + gu + +navigate up -t + gU + +navigate increment + + +navigate decrement + + +inspector + wi + +download-page + gd + +cancel-download + ad + +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 + +[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. + +open-editor + + +[hint] +# Keybindings for hint mode. +# Since normal keypresses are passed through, only special keys are +# supported in this mode. +# Useful hidden commands to map in this section: +# * `follow-hint`: Follow the currently selected hint. + +follow-hint + + +[passthrough] +# Keybindings for passthrough mode. +# Since normal keypresses are passed through, only special keys are +# supported in this mode. + +[command] +# Keybindings for command mode. +# Since normal keypresses are passed through, only special keys are +# supported in this mode. +# 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. +# * `command-accept`: Execute the command currently in the commandline. + +command-history-prev + + +command-history-next + + +completion-item-prev + + + +completion-item-next + + + +command-accept + + + + +[prompt] +# Keybindings for prompts in the status line. +# You can bind normal keys in this mode, but they will be only active +# when a yes/no-prompt is asked. For other prompt modes, you can only +# 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 + + + + +prompt-yes + y + +prompt-no + n + +[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-yank + + +rl-delete-char + + +rl-backward-delete-char + +