aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2023-10-20 11:33:38 +0200
committerGitHub <noreply@github.com>2023-10-20 13:33:38 +0400
commit845a5d8a8d47c233c4ed8177ecbb20b05b22118b (patch)
tree057f4c5974f60defa0c6f79060ef26e59398b1f1 /extra
parent7ceb638ff80eca99ac63df5fd8cbb2f703d4637a (diff)
downloadalacritty-845a5d8a8d47c233c4ed8177ecbb20b05b22118b.tar.gz
alacritty-845a5d8a8d47c233c4ed8177ecbb20b05b22118b.zip
Add inline vi mode search
This patch adds inline search to vi mode using `f`/`F` and `t`/`T` as default bindings. The behavior matches that of vim. Fixes #7203.
Diffstat (limited to 'extra')
-rw-r--r--extra/man/alacritty-bindings.5.scd24
-rw-r--r--extra/man/alacritty.5.scd32
2 files changed, 56 insertions, 0 deletions
diff --git a/extra/man/alacritty-bindings.5.scd b/extra/man/alacritty-bindings.5.scd
index a8f8dfe0..ecdf06d3 100644
--- a/extra/man/alacritty-bindings.5.scd
+++ b/extra/man/alacritty-bindings.5.scd
@@ -161,6 +161,30 @@ configuration. See *alacritty*(5) for full configuration format documentation.
:[
: _"Vi|~Search"_
: _"CenterAroundViCursor"_
+| _"F"_
+:[
+: _"Vi|~Search"_
+: _"InlineSearchForward"_
+| _"F"_
+: _"Shift"_
+: _"Vi|~Search"_
+: _"InlineSearchBackward"_
+| _"T"_
+:[
+: _"Vi|~Search"_
+: _"InlineSearchForwardShort"_
+| _"T"_
+: _"Shift"_
+: _"Vi|~Search"_
+: _"InlineSearchBackwardShort"_
+| _";"_
+:[
+: _"Vi|~Search"_
+: _"InlineSearchNext"_
+| _","_
+:[
+: _"Vi|~Search"_
+: _"InlineSearchPrevious"_
| _"K"_
:[
: _"Vi|~Search"_
diff --git a/extra/man/alacritty.5.scd b/extra/man/alacritty.5.scd
index b79a89d3..685f5e97 100644
--- a/extra/man/alacritty.5.scd
+++ b/extra/man/alacritty.5.scd
@@ -827,6 +827,38 @@ https://docs.rs/winit/\*/winit/keyboard/enum.Key.html
Move to end of whitespace separated word.
*Bracket*
Move to opposing bracket.
+ *ToggleNormalSelection*
+ Toggle normal vi selection.
+ *ToggleLineSelection*
+ Toggle line vi selection.
+ *ToggleBlockSelection*
+ Toggle block vi selection.
+ *ToggleSemanticSelection*
+ Toggle semantic vi selection.
+ *SearchNext*
+ Jump to the beginning of the next match.
+ *SearchPrevious*
+ Jump to the beginning of the previous match.
+ *SearchStart*
+ Jump to the next start of a match to the left of the origin.
+ *SearchEnd*
+ Jump to the next end of a match to the right of the origin.
+ *Open*
+ Launch the URL below the vi mode cursor.
+ *CenterAroundViCursor*
+ Centers the screen around the vi mode cursor.
+ *InlineSearchForward*
+ Search forward within the current line.
+ *InlineSearchBcakward*
+ Search backard within the current line.
+ *InlineSearchForwardShort*
+ Search forward within the current line, stopping just short of the character.
+ *InlineSearchBackwardShort*
+ Search backward within the current line, stopping just short of the character.
+ *InlineSearchNext*
+ Jump to the next inline search match.
+ *InlineSearchPrevious*
+ Jump to the previous inline search match.
_Search actions:_