diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2011-10-26 14:18:43 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2011-10-26 14:18:43 +0000 |
| commit | 5d5e76a3eb02512a8c5d387d942e7d78ed28e476 (patch) | |
| tree | 23e19e4188c8dd149f6049872fbbe5a2a9dcba28 /src | |
| parent | 2c8f3229c040c5c11f4e4d47efee25300691f95f (diff) | |
change select_line binding from . to x
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index af072638..b7693244 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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); } }, { '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); } }, - { '.', [](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, true); } }, { '/', [](Window& window, int count) { do_search(window); } }, |
