From d27aaab066f34b16ff4f038ec5ce91f479a4352b Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 22 Nov 2011 14:31:20 +0000 Subject: [PATCH] use alt-x instead of , to select whole lines --- src/main.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.cc b/src/main.cc index f92df9f8..3ecfae3f 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[])