mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-23 19:46:33 +03:00
% key selects whole buffer
This commit is contained in:
parent
0cad8ed34b
commit
dc54e7f09c
@ -417,6 +417,9 @@ std::unordered_map<char, std::function<void (Window& window, int count)>> keymap
|
||||
{ 'y', do_yank },
|
||||
{ 'p', do_paste },
|
||||
|
||||
{ '%', [](Window& window, int count) { window.select(false, [](const BufferIterator& cursor)
|
||||
{ return Selection(cursor.buffer().begin(), cursor.buffer().end()-1); }); } },
|
||||
|
||||
{ ':', [](Window& window, int count) { do_command(); } },
|
||||
{ ' ', [](Window& window, int count) { window.empty_selections(); } },
|
||||
{ 'w', [](Window& window, int count) { do { window.select(false, select_to_next_word); } while(--count > 0); } },
|
||||
|
Loading…
Reference in New Issue
Block a user