Skip to content

Commit

Permalink
s/set-cmd-text/cmd-set-text/g and regen docs
Browse files Browse the repository at this point in the history
The command was renamed a while back.
  • Loading branch information
toofar committed Jan 15, 2024
1 parent 9b5a017 commit 814e573
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
10 changes: 6 additions & 4 deletions doc/help/settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@
|<<tabs.title.format,tabs.title.format>>|Format to use for the tab title.
|<<tabs.title.format_pinned,tabs.title.format_pinned>>|Format to use for the tab title for pinned tabs. The same placeholders like for `tabs.title.format` are defined.
|<<tabs.tooltips,tabs.tooltips>>|Show tooltips on tabs.
|<<tabs.tree_tabs,tabs.tree_tabs>>|Enable tree-tabs mode.
|<<tabs.undo_stack_size,tabs.undo_stack_size>>|Number of closed tabs (per window) and closed windows to remember for :undo (-1 for no maximum).
|<<tabs.width,tabs.width>>|Width (in pixels or as percentage of the window) of the tab bar if it's vertical.
|<<tabs.wrap,tabs.wrap>>|Wrap when changing tabs.
Expand Down Expand Up @@ -753,16 +754,16 @@ Default:
* +pass:[yp]+: +pass:[yank pretty-url]+
* +pass:[yt]+: +pass:[yank title]+
* +pass:[yy]+: +pass:[yank]+
* +pass:[zG]+: +pass:[set-cmd-text -s :tree-tab-create-group]+
* +pass:[zG]+: +pass:[cmd-set-text -s :tree-tab-create-group]+
* +pass:[zH]+: +pass:[tree-tab-promote]+
* +pass:[zJ]+: +pass:[tab-next -s]+
* +pass:[zK]+: +pass:[tab-prev -s]+
* +pass:[zL]+: +pass:[tree-tab-demote]+
* +pass:[zO]+: +pass:[set-cmd-text --space :open -tS]+
* +pass:[zO]+: +pass:[cmd-set-text --space :open -tS]+
* +pass:[za]+: +pass:[tree-tab-toggle-hide]+
* +pass:[zd]+: +pass:[tab-close -r]+
* +pass:[zg]+: +pass:[set-cmd-text -s :tree-tab-create-group -r]+
* +pass:[zo]+: +pass:[set-cmd-text --space :open -tr]+
* +pass:[zg]+: +pass:[cmd-set-text -s :tree-tab-create-group -r]+
* +pass:[zo]+: +pass:[cmd-set-text --space :open -tr]+
* +pass:[zp]+: +pass:[tab-focus parent]+
* +pass:[{{]+: +pass:[navigate prev -t]+
* +pass:[}}]+: +pass:[navigate next -t]+
Expand Down Expand Up @@ -4665,6 +4666,7 @@ Default: +pass:[true]+
[[tabs.tree_tabs]]
=== tabs.tree_tabs
Enable tree-tabs mode.

This setting requires a restart.

Type: <<types,Bool>>
Expand Down
8 changes: 4 additions & 4 deletions doc/treetabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ ones? Any theme to them?
* `zK`: `tab-prev -s` - cycle tab focus upwards among siblings
* `zJ`: `tab-next -s` - cycle tab focus downwards among siblings
* `zd`: `tab-close -r` - r = recursive
* `zg`: `set-cmd-text -s :tree-tab-create-group -r` - r = related
* `zG`: `set-cmd-text -s :tree-tab-create-group`
* `zg`: `cmd-set-text -s :tree-tab-create-group -r` - r = related
* `zG`: `cmd-set-text -s :tree-tab-create-group`
* `za`: `tree-tab-toggle-hide` - same binding as vim folds
* `zp`: `tab-focus parent`
* `zo`: `set-cmd-text --space :open -tr` - r = related
* `zO`: `set-cmd-text --space :open -tS` - S = sibling
* `zo`: `cmd-set-text --space :open -tr` - r = related
* `zO`: `cmd-set-text --space :open -tS` - S = sibling

## Implementation

Expand Down
8 changes: 4 additions & 4 deletions qutebrowser/config/configdata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3884,12 +3884,12 @@ bindings.default:
zJ: tab-next -s
zK: tab-prev -s
zd: tab-close -r
zg: set-cmd-text -s :tree-tab-create-group -r
zG: set-cmd-text -s :tree-tab-create-group
zg: cmd-set-text -s :tree-tab-create-group -r
zG: cmd-set-text -s :tree-tab-create-group
za: tree-tab-toggle-hide
zp: tab-focus parent
zo: set-cmd-text --space :open -tr
zO: set-cmd-text --space :open -tS
zo: cmd-set-text --space :open -tr
zO: cmd-set-text --space :open -tS
insert:
<Ctrl-E>: edit-text
<Shift-Ins>: insert-text -- {primary}
Expand Down

0 comments on commit 814e573

Please sign in to comment.