add 'r' object alias for [] (range)
This commit is contained in:
parent
a11a162734
commit
5fe7315df9
|
@ -168,7 +168,7 @@ object you want.
|
|||
|
||||
* _b_, _(_ or _)_: select the enclosing parenthesis
|
||||
* _B_, _{_ or _}_: select the enclosing {} block
|
||||
* _[_ or _]_: select the enclosing [] block
|
||||
* _r_, _[_ or _]_: select the enclosing [] block
|
||||
* _<_ or _>_: select the enclosing <> block
|
||||
* _"_: select the enclosing double quoted string
|
||||
* _'_: select the enclosing single quoted string
|
||||
|
|
|
@ -371,6 +371,7 @@ void do_select_object(Context& context)
|
|||
{ { Key::Modifiers::None, 'B' }, std::bind(select_surrounding, _1, CodepointPair{ '{', '}' }, flags) },
|
||||
{ { Key::Modifiers::None, '[' }, std::bind(select_surrounding, _1, CodepointPair{ '[', ']' }, flags) },
|
||||
{ { Key::Modifiers::None, ']' }, std::bind(select_surrounding, _1, CodepointPair{ '[', ']' }, flags) },
|
||||
{ { Key::Modifiers::None, 'r' }, std::bind(select_surrounding, _1, CodepointPair{ '[', ']' }, flags) },
|
||||
{ { Key::Modifiers::None, '<' }, std::bind(select_surrounding, _1, CodepointPair{ '<', '>' }, flags) },
|
||||
{ { Key::Modifiers::None, '>' }, std::bind(select_surrounding, _1, CodepointPair{ '<', '>' }, flags) },
|
||||
{ { Key::Modifiers::None, '"' }, std::bind(select_surrounding, _1, CodepointPair{ '"', '"' }, flags) },
|
||||
|
|
Loading…
Reference in New Issue
Block a user