EDITOR: changed editor tabs to have their own editor mode (#1372)

This commit is contained in:
G4mingJon4s
2024-06-13 04:19:40 +02:00
committed by GitHub
parent 805ca06922
commit bec6e82d7f
11 changed files with 34 additions and 18 deletions
+12
View File
@@ -42,6 +42,18 @@ export const MiscPage = (): React.ReactElement => {
</>
}
/>
<OptionSwitch
checked={Settings.MonacoDefaultToVim}
onChange={(newValue) => (Settings.MonacoDefaultToVim = newValue)}
text="Enable Vim as default editor"
tooltip={
<>
This setting is only used when opening a file through ways that do not determine the editor mode. Using
'nano' or 'vim' will set the editor mode for the specified files, while 'ls' will open the file using the
the value from this setting.
</>
}
/>
</GameOptionsPage>
);
};