Skip to content

Commit 24a5637

Browse files
mims-githubMitMaro
authored andcommitted
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.
1 parent 48788a9 commit 24a5637

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Key bindings can be customized, see [configuration](readme/customization.md#key-
144144
| `f` | Normal/Diff | Set selected commit(s) to be fixed-up |
145145
| `d` | Normal/Diff | Set selected commit(s) to be dropped |
146146
| `E` | Normal | Edit the command of an editable action |
147-
| `v` | Normal/Diff | Enter and exit visual mode |
147+
| `v` | Normal/Diff | Enter and exit visual mode (for selection)|
148148
| `I` | Normal | Insert a new line |
149149
| `Delete` | Normal/Diff | Remove selected lines |
150150
| `!` | Normal/Diff | Open todo file in external editor |

src/core/src/modules/list/tests/help.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ fn normal_mode_help() {
4949
"{IndicatorColor} Controlz{Normal,Dimmed}|{Normal}Undo the last change",
5050
"{IndicatorColor} Controly{Normal,Dimmed}|{Normal}Redo the previous undone change",
5151
"{IndicatorColor} ! {Normal,Dimmed}|{Normal}Open the todo file in the default editor",
52-
"{IndicatorColor} v {Normal,Dimmed}|{Normal}Enter visual mode",
52+
"{IndicatorColor} v {Normal,Dimmed}|{Normal}Enter visual selection mode",
5353
"{TRAILING}",
5454
"{IndicatorColor}Press any key to close"
5555
);
@@ -112,7 +112,7 @@ fn visual_mode_help() {
112112
"{IndicatorColor} Controlz{Normal,Dimmed}|{Normal}Undo the last change",
113113
"{IndicatorColor} Controly{Normal,Dimmed}|{Normal}Redo the previous undone change",
114114
"{IndicatorColor} ! {Normal,Dimmed}|{Normal}Open the todo file in the default editor",
115-
"{IndicatorColor} v {Normal,Dimmed}|{Normal}Exit visual mode",
115+
"{IndicatorColor} v {Normal,Dimmed}|{Normal}Exit visual selection mode",
116116
"{TRAILING}",
117117
"{IndicatorColor}Press any key to close"
118118
);

src/core/src/modules/list/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,12 @@ fn build_help_lines(key_bindings: &KeyBindings, selector: HelpLinesSelector) ->
150150
),
151151
(
152152
&key_bindings.toggle_visual_mode,
153-
"Enter visual mode",
153+
"Enter visual selection mode",
154154
HelpLinesSelector::Normal,
155155
),
156156
(
157157
&key_bindings.toggle_visual_mode,
158-
"Exit visual mode",
158+
"Exit visual selection mode",
159159
HelpLinesSelector::Visual,
160160
),
161161
];

0 commit comments

Comments
 (0)