Add vim commands for folding
This commit is contained in:
parent
4b8ab8eab9
commit
5f1a69a38e
1 changed files with 12 additions and 0 deletions
|
|
@ -83,6 +83,18 @@ var actions = exports.actions = {
|
|||
case "b":
|
||||
editor.renderer.alignCursor(null, 1);
|
||||
break;
|
||||
case "c":
|
||||
coreCommands.fold();
|
||||
break;
|
||||
case "o":
|
||||
coreCommands.unfold();
|
||||
break;
|
||||
case "C":
|
||||
coreCommands.foldall();
|
||||
break;
|
||||
case "O":
|
||||
coreCommands.unfoldall();
|
||||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue