Merge pull request #292 from misfo/vim_movements_2
vim I,A,C,G,b,e,x,X,D commands
This commit is contained in:
commit
5c54545a99
1 changed files with 40 additions and 1 deletions
|
|
@ -47,10 +47,25 @@ var vimStates = {
|
|||
then: "insertMode"
|
||||
},
|
||||
{
|
||||
key: "o",
|
||||
key: "a",
|
||||
exec: "gotoright",
|
||||
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",
|
||||
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",
|
||||
match: matchCharacterOnly
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue