Update docs

This commit is contained in:
Florian Bruhin 2019-03-28 07:27:32 +01:00
parent bab3d6a272
commit 1dd8d253d8
4 changed files with 11 additions and 2 deletions

View File

@ -23,6 +23,9 @@ Added
- New settings:
* `colors.tabs.pinned.*` to control colors of pinned tabs.
- New commands:
* `:reverse-selection` (`o` in caret mode) to swap the stationary/moving ends
of a selection.
Changed
~~~~~~~
@ -31,6 +34,7 @@ Changed
`org.qutebrowser.qutebrowser.desktop`.
- Pinned tabs now always show a favicon (even if the site doesn't provide one)
when shrinking.
- Slight performance improvements for the `:open` completion.
Fixed
~~~~~

View File

@ -1556,6 +1556,7 @@ How many steps to zoom out.
|<<prompt-item-focus,prompt-item-focus>>|Shift the focus of the prompt file completion menu to another item.
|<<prompt-open-download,prompt-open-download>>|Immediately open a download.
|<<prompt-yank,prompt-yank>>|Yank URL to clipboard or primary selection.
|<<reverse-selection,reverse-selection>>|Swap the stationary and moving end of the current selection.
|<<rl-backward-char,rl-backward-char>>|Move back a character.
|<<rl-backward-delete-char,rl-backward-delete-char>>|Delete the character before the cursor.
|<<rl-backward-kill-word,rl-backward-kill-word>>|Remove chars from the cursor to the beginning of the word.
@ -1776,6 +1777,10 @@ Yank URL to clipboard or primary selection.
==== optional arguments
* +*-s*+, +*--sel*+: Use the primary selection instead of the clipboard.
[[reverse-selection]]
=== reverse-selection
Swap the stationary and moving end of the current selection.
[[rl-backward-char]]
=== rl-backward-char
Move back a character.

View File

@ -436,6 +436,7 @@ Default:
* +pass:[j]+: +pass:[move-to-next-line]+
* +pass:[k]+: +pass:[move-to-prev-line]+
* +pass:[l]+: +pass:[move-to-next-char]+
* +pass:[o]+: +pass:[reverse-selection]+
* +pass:[v]+: +pass:[toggle-selection]+
* +pass:[w]+: +pass:[move-to-next-word]+
* +pass:[y]+: +pass:[yank selection]+

View File

@ -214,6 +214,5 @@ def follow_selected(tab_obj: apitypes.Tab, *, tab: bool = False) -> None:
@cmdutils.register(modes=[cmdutils.KeyMode.caret])
@cmdutils.argument('tab', value=cmdutils.Value.cur_tab)
def reverse_selection(tab: apitypes.Tab) -> None:
"""Switch the stationary end of the current selection with the
moving end."""
"""Swap the stationary and moving end of the current selection."""
tab.caret.reverse_selection()