summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/vi_mode.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty_terminal/src/vi_mode.rs')
-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,