vim I,A,C,G,b,e,x,X,D commands
This commit is contained in:
parent
138f3dc3f6
commit
ed803c24e5
1 changed files with 40 additions and 1 deletions
|
|
@ -47,10 +47,25 @@ var vimStates = {
|
||||||
then: "insertMode"
|
then: "insertMode"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: "o",
|
key: "a",
|
||||||
exec: "gotoright",
|
exec: "gotoright",
|
||||||
then: "insertMode"
|
then: "insertMode"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "shift-i",
|
||||||
|
exec: "gotolinestart",
|
||||||
|
then: "insertMode"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "shift-a",
|
||||||
|
exec: "gotolineend",
|
||||||
|
then: "insertMode"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "shift-c",
|
||||||
|
exec: "removetolineend",
|
||||||
|
then: "insertMode"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "shift-r",
|
key: "shift-r",
|
||||||
exec: "overwrite",
|
exec: "overwrite",
|
||||||
|
|
@ -104,6 +119,30 @@ var vimStates = {
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "shift-g",
|
||||||
|
exec: "gotoend"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "b",
|
||||||
|
exec: "gotowordleft"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "e",
|
||||||
|
exec: "gotowordright"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "x",
|
||||||
|
exec: "del"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "shift-x",
|
||||||
|
exec: "backspace"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "shift-d",
|
||||||
|
exec: "removetolineend"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
comment: "Catch some keyboard input to stop it here",
|
comment: "Catch some keyboard input to stop it here",
|
||||||
match: matchCharacterOnly
|
match: matchCharacterOnly
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue