diff --git a/src/main.cc b/src/main.cc index f92df9f87..3ecfae3fb 100644 --- a/src/main.cc +++ b/src/main.cc @@ -601,7 +601,6 @@ std::unordered_map> keymap { 'n', [](Window& window, int count) { do_search_next(window); } }, { 'u', [](Window& window, int count) { do { if (not window.undo()) { print_status("nothing left to undo"); break; } } while(--count > 0); } }, { 'U', [](Window& window, int count) { do { if (not window.redo()) { print_status("nothing left to redo"); break; } } while(--count > 0); } }, - { ',', [](Window& window, int count) { window.multi_select(select_whole_lines); } }, }; std::unordered_map> alt_keymap = @@ -626,6 +625,8 @@ std::unordered_map> alt_ke { 's', do_split_regex }, { 'j', do_join }, + + { 'x', [](Window& window, int count) { window.multi_select(select_whole_lines); } }, }; int main(int argc, char* argv[])