feat: Add vim mode to script editor

This adds an option to turn on vim mode using the `monaco-vim` library.
This commit is contained in:
Billy Vong
2021-12-17 12:34:00 -05:00
parent 3436873373
commit fb5d374279
7 changed files with 78 additions and 9 deletions
+3
View File
@@ -163,6 +163,8 @@ interface ISettings extends IDefaultSettings {
MonacoInsertSpaces: boolean;
MonacoFontSize: number;
MonacoVim: boolean;
}
export const defaultSettings: IDefaultSettings = {
@@ -254,6 +256,7 @@ export const Settings: ISettings & ISelfInitializer & ISelfLoading = {
MonacoTheme: "monokai",
MonacoInsertSpaces: false,
MonacoFontSize: 20,
MonacoVim: false,
theme: {
primarylight: defaultSettings.theme.primarylight,