summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormims-github <82363077+mims-github@users.noreply.github.com>2023-07-20 11:24:32 +0200
committerTim Oram <dev@mitmaro.ca>2023-07-20 14:49:22 -0230
commit24a56377eaa7d12d8f99f0d00a4af6c554f833ed (patch)
treed4b5ca766a285cd0817e4d2b85e874549214a985
parent48788a9f0490fe9f2950b679436a7790000a5269 (diff)
Make clear that visual mode is for selection
For non-vim users, it may be not obvious, that visual mode is used for selection of lines.
-rw-r--r--README.md2
-rw-r--r--src/core/src/modules/list/tests/help.rs4
-rw-r--r--src/core/src/modules/list/utils.rs4
3 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 98aed8e..22918a6 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ Key bindings can be customized, see [configuration](readme/customization.md#key-
| `f` | Normal/Diff | Set selected commit(s) to be fixed-up |
| `d` | Normal/Diff | Set selected commit(s) to be dropped |
| `E` | Normal | Edit the command of an editable action |
-| `v` | Normal/Diff | Enter and exit visual mode |
+| `v` | Normal/Diff | Enter and exit visual mode (for selection)|
| `I` | Normal | Insert a new line |
| `Delete` | Normal/Diff | Remove selected lines |
| `!` | Normal/Diff | Open todo file in external editor |
diff --git a/src/core/src/modules/list/tests/help.rs b/src/core/src/modules/list/tests/help.rs
index 845c689..8c55da0 100644
--- a/src/core/src/modules/list/tests/help.rs
+++ b/src/core/src/modules/list/tests/help.rs
@@ -49,7 +49,7 @@ fn normal_mode_help() {
"{IndicatorColor} Controlz{Normal,Dimmed}|{Normal}Undo the last change",
"{IndicatorColor} Controly{Normal,Dimmed}|{Normal}Redo the previous undone change",
"{IndicatorColor} ! {Normal,Dimmed}|{Normal}Open the todo file in the default editor",
- "{IndicatorColor} v {Normal,Dimmed}|{Normal}Enter visual mode",
+ "{IndicatorColor} v {Normal,Dimmed}|{Normal}Enter visual selection mode",
"{TRAILING}",
"{IndicatorColor}Press any key to close"
);
@@ -112,7 +112,7 @@ fn visual_mode_help() {
"{IndicatorColor} Controlz{Normal,Dimmed}|{Normal}Undo the last change",
"{IndicatorColor} Controly{Normal,Dimmed}|{Normal}Redo the previous undone change",
"{IndicatorColor} ! {Normal,Dimmed}|{Normal}Open the todo file in the default editor",
- "{IndicatorColor} v {Normal,Dimmed}|{Normal}Exit visual mode",
+ "{IndicatorColor} v {Normal,Dimmed}|{Normal}Exit visual selection mode",
"{TRAILING}",
"{IndicatorColor}Press any key to close"
);
diff --git a/src/core/src/modules/list/utils.rs b/src/core/src/modules/list/utils.rs
index 4a769e6..3cf8544 100644
--- a/src/core/src/modules/list/utils.rs
+++ b/src/core/src/modules/list/utils.rs
@@ -150,12 +150,12 @@ fn build_help_lines(key_bindings: &KeyBindings, selector: HelpLinesSelector) ->
),
(
&key_bindings.toggle_visual_mode,
- "Enter visual mode",
+ "Enter visual selection mode",
HelpLinesSelector::Normal,
),
(
&key_bindings.toggle_visual_mode,
- "Exit visual mode",
+ "Exit visual selection mode",
HelpLinesSelector::Visual,
),
];