Alter enter_command_mode shortcut to `:`

Just like vi.
jmap-eventsource
Manos Pitsidianakis 2020-10-14 20:21:22 +03:00
parent e4cddbad25
commit 279c288a22
Signed by: Manos Pitsidianakis
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 .It COMMAND
commands are issued in commands are issued in
.Em COMMAND .Em COMMAND
mode, by default started with Space and exited with mode, by default started with
.Cm \&:
and exited with
.Cm Esc .Cm Esc
key. key.
.It EMBED .It EMBED

View File

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

View File

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