mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-24 20:13:00 +03:00
use alt-x instead of , to select whole lines
This commit is contained in:
parent
a1200aacad
commit
d27aaab066
@ -601,7 +601,6 @@ std::unordered_map<char, std::function<void (Window& window, int count)>> 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<char, std::function<void (Window& window, int count)>> alt_keymap =
|
||||
@ -626,6 +625,8 @@ std::unordered_map<char, std::function<void (Window& window, int count)>> 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[])
|
||||
|
Loading…
Reference in New Issue
Block a user