change select_line binding from . to x

This commit is contained in:
Maxime Coste 2011-10-26 14:18:43 +00:00
parent 2c8f3229c0
commit 5d5e76a3eb

View File

@ -533,7 +533,8 @@ std::unordered_map<char, std::function<void (Window& window, int count)>> keymap
{ 'W', [](Window& window, int count) { do { window.select(select_to_next_word, true); } while(--count > 0); } }, { 'W', [](Window& window, int count) { do { window.select(select_to_next_word, true); } while(--count > 0); } },
{ 'E', [](Window& window, int count) { do { window.select(select_to_next_word_end, true); } while(--count > 0); } }, { 'E', [](Window& window, int count) { do { window.select(select_to_next_word_end, true); } while(--count > 0); } },
{ 'B', [](Window& window, int count) { do { window.select(select_to_previous_word, true); } while(--count > 0); } }, { 'B', [](Window& window, int count) { do { window.select(select_to_previous_word, true); } while(--count > 0); } },
{ '.', [](Window& window, int count) { do { window.select(select_line); } while(--count > 0); } }, { 'x', [](Window& window, int count) { do { window.select(select_line); } while(--count > 0); } },
{ 'X', [](Window& window, int count) { do { window.select(select_line, true); } while(--count > 0); } },
{ 'm', [](Window& window, int count) { window.select(select_matching); } }, { 'm', [](Window& window, int count) { window.select(select_matching); } },
{ 'M', [](Window& window, int count) { window.select(select_matching, true); } }, { 'M', [](Window& window, int count) { window.select(select_matching, true); } },
{ '/', [](Window& window, int count) { do_search(window); } }, { '/', [](Window& window, int count) { do_search(window); } },