summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2022-04-15 08:14:17 +1000
committerMaxime Coste <mawww@kakoune.org>2022-07-05 08:43:40 +1000
commit2d8456db102e13f37a5cd271868c330d73580f6d (patch)
treee9c1c36be5bfa2ed61bea03462e1841bcde68a91 /src/normal.cc
parent266d1c37d0d970a7eff747f5e6a5773a3cea39d8 (diff)
Move user mappings to <space> and keep/remove selection to ,
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/normal.cc b/src/normal.cc
index e68db583..c891d541 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -2269,8 +2269,8 @@ static constexpr HashMap<Key, NormalCmd, MemoryDomain::Undefined, KeymapBackend>
{ {'!'}, {"insert command output", insert_output<PasteMode::Insert>} },
{ {alt('!')}, {"append command output", insert_output<PasteMode::Append>} },
- { {Key::Space}, {"remove all selections except main", keep_selection} },
- { {alt(Key::Space)}, {"remove main selection", remove_selection} },
+ { {','}, {"remove all selections except main", keep_selection} },
+ { {alt(',')}, {"remove main selection", remove_selection} },
{ {';'}, {"reduce selections to their cursor", clear_selections} },
{ {alt(';')}, {"swap selections cursor and anchor", flip_selections} },
{ {alt(':')}, {"ensure selection cursor is after anchor", ensure_forward} },
@@ -2374,7 +2374,7 @@ static constexpr HashMap<Key, NormalCmd, MemoryDomain::Undefined, KeymapBackend>
{ {'C'}, {"copy selection on next lines", copy_selections_on_next_lines<Forward>} },
{ {alt('C')}, {"copy selection on previous lines", copy_selections_on_next_lines<Backward>} },
- { {','}, {"user mappings", exec_user_mappings} },
+ { {Key::Space}, {"user mappings", exec_user_mappings} },
{ {Key::PageUp}, { "scroll one page up", scroll<Backward>} },
{ {Key::PageDown}, {"scroll one page down", scroll<Forward>} },