1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-15 18:15:53 +03:00

Small tweak

This commit is contained in:
Maxime Coste 2014-10-16 19:43:09 +01:00
parent 9c2f9d5547
commit 2e0b4d02b7

View File

@ -1359,14 +1359,14 @@ KeyMap keymap =
{ alt('i'), { "select inner object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd | ObjectFlags::Inner> } },
{ alt('a'), { "select whole object", select_object<ObjectFlags::ToBegin | ObjectFlags::ToEnd> } },
{ ']', { "select to object end", select_object<ObjectFlags::ToEnd> } },
{ '[', { "select to object start", select_object<ObjectFlags::ToBegin> } },
{ '}', { "extend to object end", select_object<ObjectFlags::ToEnd, SelectMode::Extend> } },
{ ']', { "select to object end", select_object<ObjectFlags::ToEnd> } },
{ '{', { "extend to object start", select_object<ObjectFlags::ToBegin, SelectMode::Extend> } },
{ alt(']'), { "select to inner object end", select_object<ObjectFlags::ToEnd | ObjectFlags::Inner> } },
{ '}', { "extend to object end", select_object<ObjectFlags::ToEnd, SelectMode::Extend> } },
{ alt('['), { "select to inner object start", select_object<ObjectFlags::ToBegin | ObjectFlags::Inner> } },
{ alt('}'), { "extend to inner object end", select_object<ObjectFlags::ToEnd | ObjectFlags::Inner, SelectMode::Extend> } },
{ alt(']'), { "select to inner object end", select_object<ObjectFlags::ToEnd | ObjectFlags::Inner> } },
{ alt('{'), { "extend to inner object start", select_object<ObjectFlags::ToBegin | ObjectFlags::Inner, SelectMode::Extend> } },
{ alt('}'), { "extend to inner object end", select_object<ObjectFlags::ToEnd | ObjectFlags::Inner, SelectMode::Extend> } },
{ alt('j'), { "join lines", join } },
{ alt('J'), { "join lines and select spaces", join_select_spaces } },