mirror of
https://github.com/VSCodeVim/Vim.git
synced 2024-09-11 12:25:59 +03:00
add synonyms for text object motions
This commit is contained in:
parent
69d12b6e9b
commit
e596ed6538
14
ROADMAP.md
14
ROADMAP.md
@ -396,12 +396,14 @@ Status | Command | Description
|
||||
:white_check_mark: | :1234: is | Select "inner sentence"
|
||||
| :1234: ap | Select "a paragraph"
|
||||
| :1234: ip | Select "inner paragraph"
|
||||
| :1234: ab | Select "a block" (from "[(" to "])")
|
||||
| :1234: ib | Select "inner block" (from "[(" to "])")
|
||||
| :1234: aB | Select "a Block" (from "[{" to "]}")
|
||||
| :1234: iB | Select "inner Block" (from "[{" to "]}")
|
||||
:white_check_mark: | :1234: a> | Select "a <> block"
|
||||
:white_check_mark: | :1234: i> | Select "inner <> block"
|
||||
:white_check_mark: | :1234: a], a[ | select '[' ']' blocks
|
||||
:white_check_mark: | :1234: i], i[ | select inner '[' ']' blocks
|
||||
:white_check_mark: | :1234: ab, a(, a) | Select "a block" (from "[(" to "])")
|
||||
:white_check_mark: | :1234: ib, i), i( | Select "inner block" (from "[(" to "])")
|
||||
:white_check_mark: | :1234: a>, a< | Select "a <> block"
|
||||
:white_check_mark: | :1234: i>, i< | Select "inner <> block"
|
||||
:white_check_mark: | :1234: aB, a{, a} | Select "a Block" (from "[{" to "]}")
|
||||
:white_check_mark: | :1234: iB, i{, i} | Select "inner Block" (from "[{" to "]}")
|
||||
| :1234: at | Select "a tag block" (from <aaa> to </aaa>)
|
||||
| :1234: it | Select "inner tag block" (from <aaa> to </aaa>)
|
||||
:white_check_mark: | :1234: a' | Select "a single quoted string"
|
||||
|
@ -3223,6 +3223,12 @@ class MoveIClosingParentheses extends MoveInsideCharacter {
|
||||
charToMatch = "(";
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveIClosingParenthesesBlock extends MoveInsideCharacter {
|
||||
keys = ["i", "b"];
|
||||
charToMatch = "(";
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveAParentheses extends MoveInsideCharacter {
|
||||
keys = ["a", "("];
|
||||
@ -3237,6 +3243,13 @@ class MoveAClosingParentheses extends MoveInsideCharacter {
|
||||
includeSurrounding = true;
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveAParenthesesBlock extends MoveInsideCharacter {
|
||||
keys = ["a", "b"];
|
||||
charToMatch = "(";
|
||||
includeSurrounding = true;
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveICurlyBrace extends MoveInsideCharacter {
|
||||
keys = ["i", "{"];
|
||||
@ -3249,6 +3262,12 @@ class MoveIClosingCurlyBrace extends MoveInsideCharacter {
|
||||
charToMatch = "{";
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveIClosingCurlyBraceBlock extends MoveInsideCharacter {
|
||||
keys = ["i", "B"];
|
||||
charToMatch = "{";
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveACurlyBrace extends MoveInsideCharacter {
|
||||
keys = ["a", "{"];
|
||||
@ -3263,6 +3282,13 @@ class MoveAClosingCurlyBrace extends MoveInsideCharacter {
|
||||
includeSurrounding = true;
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveAClosingCurlyBraceBlock extends MoveInsideCharacter {
|
||||
keys = ["a", "B"];
|
||||
charToMatch = "{";
|
||||
includeSurrounding = true;
|
||||
}
|
||||
|
||||
@RegisterAction
|
||||
class MoveICaret extends MoveInsideCharacter {
|
||||
keys = ["i", "<"];
|
||||
|
Loading…
Reference in New Issue
Block a user