Add vim 'dd' binding.
This commit is contained in:
parent
5c54545a99
commit
a2f6b748b3
1 changed files with 11 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ var vimStates = {
|
||||||
key: "i",
|
key: "i",
|
||||||
then: "insertMode"
|
then: "insertMode"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "d",
|
||||||
|
then: "deleteMode"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "a",
|
key: "a",
|
||||||
exec: "gotoright",
|
exec: "gotoright",
|
||||||
|
|
@ -160,6 +164,13 @@ var vimStates = {
|
||||||
exec: "overwrite",
|
exec: "overwrite",
|
||||||
then: "start"
|
then: "start"
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
deleteMode: [
|
||||||
|
{
|
||||||
|
key: "d",
|
||||||
|
exec: "removeline",
|
||||||
|
then: "start"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue