mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-24 02:03:01 +02:00
EDITOR: changed editor tabs to have their own editor mode (#1372)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user