aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-07-16 03:46:47 +0000
committerGitHub <noreply@github.com>2023-07-16 03:46:47 +0000
commit296eb554601387662ecb9345c71760ea3ce8ceb1 (patch)
tree68a454c960f1021005a53f9ea15ade09da878058 /alacritty_terminal
parentfe2df1b5b22b573e74ab967b832566f4f5d549e7 (diff)
downloadalacritty-296eb554601387662ecb9345c71760ea3ce8ceb1.tar.gz
alacritty-296eb554601387662ecb9345c71760ea3ce8ceb1.zip
Mention all the actions in the man page
A lot of actions were left without a notice, so the only way to figure out some of them was to browse source code. An example of such actions were `Maximize` and `Minimize`, since we don't have a binding for them, so they were left even in alacritty-bindings(5). Explicitly list all the bindings we have. The search bindings were also not accurately restricted, since we allow them to be executed inside regardless of mode.
Diffstat (limited to 'alacritty_terminal')
-rw-r--r--alacritty_terminal/src/vi_mode.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/alacritty_terminal/src/vi_mode.rs b/alacritty_terminal/src/vi_mode.rs
index 0cdc6a69..7b4de605 100644
--- a/alacritty_terminal/src/vi_mode.rs
+++ b/alacritty_terminal/src/vi_mode.rs
@@ -19,11 +19,12 @@ pub enum ViMotion {
Left,
/// Move right.
Right,
- /// Move to start of line.
+ /// First column, or beginning of the line when already at the first column.
First,
- /// Move to end of line.
+ /// Last column, or beginning of the line when already at the last column.
Last,
- /// Move to the first non-empty cell.
+ /// First non-empty cell in this terminal row, or first non-empty cell
+ /// of the line when already at the first cell of the row.
FirstOccupied,
/// Move to top of screen.
High,