Commands and keybindings
This commit is contained in:
@@ -38,6 +38,9 @@ Commands TODO:
|
||||
- Special: non editable, hotkeys don't work etc.
|
||||
- I'M SETTING ACTIVE WINDOW AFTER COMMAND!!! DO WE CONTINUE WITH THIS?
|
||||
|
||||
- CONSIDER AUTOMATING: CheckpointBeforeGoto
|
||||
- GotoBackward how to handle that in case we want to automate and create on every move?
|
||||
|
||||
## Hooks and bindings
|
||||
|
||||
```
|
||||
@@ -50,7 +53,8 @@ struct Hook {
|
||||
|
||||
void Command_New() {
|
||||
...
|
||||
} RegisterCommand(Command_New, "ctrl-n");
|
||||
} RegisterCommand(Command_New, "ctrl-n", NOT_VISIBLE_IN_LISTING);
|
||||
// How do we handle Command_Delete variations????
|
||||
|
||||
void Hook_FormatOnSave() {
|
||||
} RegisterHook(Hook_FormatOnSave, "onsave");
|
||||
|
||||
Reference in New Issue
Block a user