Alter enter_command_mode shortcut to :

Just like vi.
This commit is contained in:
Manos Pitsidianakis 2020-10-14 20:21:22 +03:00
parent e4cddbad25
commit 279c288a22
No known key found for this signature in database
GPG Key ID: 73627C2F690DF710
3 changed files with 5 additions and 3 deletions

View File

@ -360,7 +360,9 @@ is the default mode
.It COMMAND
commands are issued in
.Em COMMAND
mode, by default started with Space and exited with
mode, by default started with
.Cm \&:
and exited with
.Cm Esc
key.
.It EMBED

View File

@ -471,7 +471,7 @@ Enter
.Em COMMAND
mode.
.\" default value
.Pq Ql Em \
.Pq Ql Em \&:
.It Ic next_tab
Go to next tab.
.\" default value

View File

@ -212,7 +212,7 @@ shortcut_key_values! { "pager",
shortcut_key_values! { "general",
pub struct GeneralShortcuts {
toggle_help |> "Toggle help and shortcuts view." |> Key::Char('?'),
enter_command_mode |> "Enter COMMAND mode." |> Key::Char(' '),
enter_command_mode |> "Enter COMMAND mode." |> Key::Char(':'),
go_to_tab |> "Go to the nth tab" |> Key::Alt('n'),
next_tab |> "Next tab." |> Key::Char('T'),
scroll_right |> "Generic scroll right (catch-all setting)" |> Key::Right,