-
Notifications
You must be signed in to change notification settings - Fork 58
Keyboard shortcuts
Vadim Lopatin edited this page Jan 15, 2016
·
1 revision
Keyboard shortcuts settings support is added.
For linux and macos settings are placed in file
~/.dlangide/shortcuts.json
For Windows, in directory like
C:\Users\user\AppData\Roaming\.dlangide\shortcuts.json
If no such file exists, it's being created on DlangIDE start, filling with default values to simplify configuration.
Just edit its content to redefine some key bindings.
File format is simple and intuitive. Example:
{
"EditorActions.Copy": "Ctrl+C",
"EditorActions.Paste": "Ctrl+V",
"EditorActions.Cut": "Ctrl+X",
"EditorActions.Undo": "Ctrl+Z",
"EditorActions.Redo": [
"Ctrl+Y",
"Ctrl+Shift+Z"
],
"EditorActions.Indent": [
"Tab",
"Ctrl+]"
],
"EditorActions.Unindent": [
"Shift+Tab",
"Ctrl+["
],
"EditorActions.ToggleLineComment": "Ctrl+/",
"EditorActions.ToggleBlockComment": "Ctrl+Shift+/"
}