Last active
July 7, 2021 21:52
-
-
Save zetekla/7ffa7ce2871d9feca2635768198abfcd to your computer and use it in GitHub Desktop.
Windows 10 bs troubleshoots
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://portableapps.com/apps/utilities/java_portable | |
https://sourceforge.net/projects/eclipse-neon-portable/files/Final%20Versions/Eclipse%20OXYGEN%204.7%20Platform%20Runtime%20Binary%20%5BPortable%5D.paf.exe/download |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Run Git Bash as administrator as always, to enable that do the following: | |
1. Right-click C:\Program Files\Git\git-bash.exe (Git for Windows 2.8.0) | |
2. Click Properties | |
3. Click the Compatibility tab in the Properties dialog | |
4. Check the "Run This Program As An Administrator" check box | |
5. Click OK button | |
Note again: git bash is provided by Git for Windows, it's not part of TortoiseGit. | |
For shortcut creation, do this: | |
"%ConEmuDrive%\Program Files (x86)\Git\bin\sh.exe" --login -i -new_console:a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net stop wuauserv && net stop bits && net stop dosvc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terminal/shell for windows | |
1. cmder | |
2. Mosh | |
3. Git Bash | |
4. Putty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c:\Windows\System32\Drivers\etc\hosts | |
/etc/hosts blocking technique: | |
127.0.0.1 *.download.windowsupdate.com | |
127.0.0.1 *.microsoft.com | |
127.0.0.1 *.update.microsoft.com | |
127.0.0.1 *.windowsupdate.com | |
127.0.0.1 *.windowsupdate.microsoft.com | |
127.0.0.1 download.microsoft.com | |
127.0.0.1 download.windowsupdate.com | |
127.0.0.1 ntservicepack.microsoft.com | |
127.0.0.1 test.stats.update.microsoft.com | |
127.0.0.1 windowsupdate.microsoft.com | |
127.0.0.1 wustat.windows.com | |
https://fossbytes.com/stop-disable-windows-10-forced-updates-command/ | |
at least 2 ways to init a script on windows startup and on login | |
Windows + R : type shell:startup, copy shortcut to your program and place in there to execute | |
Alternative, we can try Task Scheduler. | |
http://windows7themes.net/en-us/3-ways-to-run-programs-at-windows-startup-via-registry-task-scheduler-or-startup-folder/ | |
to effectively turn off Windows 10 auto-update services, follow these steps: | |
1. create a stopupdate.bat contains 3 major command lines to end those services. | |
2. Create a shortcut and then place it under the Startup folder. This is simply good. | |
3. Go to Services.msc (Windows + Run), disable all the 3 services: Windows Update, background intelligent transfer service, and delivery optimization service. Ensure they are fully Disabled, not Manual. | |
4. Don't close Services.msc yet, you need to Check the next tab for each of those services, make sure Windows does not Retry to run the service if failed, just set all of those dropdown to Never. | |
5. For more guaranteed solution, go to Task Scheduler, add a new Task to be run on boot/startup, with highest priveledge, and inject your Bash script file. | |
6. Verify: use the `net stop <service>` command to check the next time your Windows logs-on. | |
Consider using WinAero to enable Ethernet METER connection | |
Replacing Windows Update.exe to your own exe file | |
https://www.howtogeek.com/forum/topic/make-shortcut-always-run-as-administrator | |
ALSO TRY THESE 5 STRATEGIES | |
https://www.easeus.com/todo-backup-resource/how-to-stop-windows-10-from-automatically-update.html | |
--- | |
Troubleshoot install Sierra on Windows with Oracle VirtualBox (VirtualBox is not a recommended solution for installing Mac on Windows): | |
Alright. Navigate to Display option and then increase the video memory to 128 MB. | |
Then try changing the operating system version from Mac OS X 64 El Capitan to just the Mac OS X 64. | |
** If all fails, then you can always resort to using VMware rather than VirtualBox. | |
Screen Resolution OSX Guest - Windows host | |
https://superuser.com/questions/177228/mac-os-x-guest-virtual-box-in-windows-host-full-screen | |
https://answers.microsoft.com/en-us/windows/forum/windows_10-windows_install/is-it-possible-to-uninstall-the-windows-10-update/f6c52b1e-e4aa-48f4-9d56-7eae9640deda | |
The Update Assistant in Windows 10 cannot be uninstalled, but you can get rid of it | |
Click your Start Button, type Task Scheduler and hit enter | |
In the left Pane, navigate to: Windows - Update Orchestrater | |
Right Pane double click 'Update Assistant' | |
Click on Triggers Tab | |
On each of the triggers ( At login . . . etc.) double click and uncheck 'Enabled' | |
Under 'Update Assistant, there is another event 'Update Assistant CalendarRun' | |
Do the same for all triggers on that event | |
Restart your system, that's It! | |
** It is fairly easy to install Sierra on VMWare Workstation 14, tested and it seems working fast, stable, graphics resolution is excellent thanks to VMTool. | |
1 - Download VMWare Workstation 14 Pro version. | |
2 - Run VMWare opener to inject OSX option. | |
3 - Create VMWare, go to Documents/Virtual Machines to edit vmx file (smc.version= "0") | |
4 - Select TechsViewer Sierra vmdx file to replace Hard Drive and use that vmdx to operate as a Hard Drive. | |
From now on, perform a full install on that "Hard Drive" | |
5 - Add CD-Rom for VMTool to install the tool for graphics and FHD host-like display. | |
The Hard Part: getting a Magic Mouse to connect to the VMWare Sierra can be very challenging. | |
Get some of the kexts for CSR bluetooth 4.0 dongle (cinolink). | |
Perform kext injection with EasyKext Utility. | |
Restart if fails, try to remove nvram file in Documents/Virtual Machines folder of the host. | |
Had to Reboot a few times until finally getting CSR bluetooth seen. | |
The host bluetooth must have to be turned off for the setup to work. | |
Dell inspiron 13, i7 7500, 8gb DDR4 specs, 256gb SSD. | |
Cinolink CSR bluetooth 4.0 dongle | |
Tested: | |
- SSDs can be successfully connected. | |
- Touch screen works. | |
- Sound card (from host) works, producing sound. | |
- Internet works, using host connection. | |
- and Finally, Magic Mouse 2 works (full gestures: 2 finger swipe left & right, 2 finger view all apps), perhaps Magic Trackpad will work too. | |
Refs: | |
https://discussions.apple.com/thread/2265096?tstart=0 | |
https://techsviewer.com/install-macos-sierra-vmware-windows | |
Kext files can be found: | |
system/library/extensions | |
/Library/Extensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "ctrl+shift+up", | |
"command": "editor.action.moveLinesUpAction", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "ctrl+shift+down", | |
"command": "editor.action.moveLinesDownAction", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "alt+up", | |
"command": "cursorUpSelect", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "alt+down", | |
"command": "cursorDownSelect", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "ctrl+shift+/", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "alt+f3", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ "key": "ctrl+alt+g", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+delete", | |
"command": "editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "-editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "ctrl+shift+z", | |
"command": "redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "-redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f12", | |
"command": "-editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f6", | |
"command": "editor.action.diffReview.prev", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-editor.action.diffReview.prev", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f6", | |
"command": "-workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f7", | |
"command": "-workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "editor.fold", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-editor.fold", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+;", | |
"command": "editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "-editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "editor.foldAll", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-editor.foldAll", | |
"when": "editorFocus" | |
}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go To Definition: Ctrl + B | |
Go To Implementation: Ctrl + Alt + B || Ctrl + F12 | |
Go To Type Definition: Ctrl + Shift + B | |
Go To File: Ctrl + P | |
Go To Symbol (Find by class): Ctrl + Shift + O || Ctrl + P, then type # and the class | |
Format Document/Selection: Ctrl + Alt + L | |
Restyle indents (re-indenting): | |
- Shift+Tab all document of the code to left side for unindenting. | |
- Save, Close, Reopen and Format with Ctrl + Alt + L to apply Indentation of 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"git.enabled": true, | |
"git.path": "C:\\Users\\p800636\\AppData\\Local\\Programs\\Git\\cmd\\git.exe", | |
"editor.detectIndentation": true, | |
"editor.tabSize": 2, | |
"files.trimTrailingWhitespace": true, | |
"editor.trimAutoWhitespace": true, | |
"files.autoSave": "onWindowChange", | |
// Controls how windows are being reopened after a restart. Select 'none' to always start with an empty workspace, 'one' to reopen the last window you worked on, 'folders' to reopen all windows that had folders opened or 'all' to reopen all windows of your last session. | |
"window.restoreWindows": "folders", // "one" | |
"emmet.syntaxProfiles": { | |
"javascript": "html", | |
"jsx-sublime-babel-tags": "javascriptreact", | |
"xml": { | |
"attr_quotes": "single" | |
} | |
}, | |
"emmet.triggerExpansionOnTab": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "alt+up", | |
"command": "cursorUpSelect", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "alt+down", | |
"command": "cursorDownSelect", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "ctrl+shift+/", | |
"command": "editor.action.blockComment", | |
"when": "editorTextFocus" | |
}, | |
{ "key": "alt+f3", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ "key": "ctrl+alt+g", | |
"command": "editor.action.selectHighlights", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "-editor.action.deleteLines", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "ctrl+shift+i", | |
"command": "-editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor" | |
}, | |
{ | |
"key": "ctrl+shift+z", | |
"command": "redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+y", | |
"command": "-redo", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+f12", | |
"command": "-editor.action.previewDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f6", | |
"command": "editor.action.diffReview.prev", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "shift+f7", | |
"command": "-editor.action.diffReview.prev", | |
"when": "isInDiffEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "-editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "f12", | |
"command": "workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f6", | |
"command": "-workbench.action.debug.pause", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "f7", | |
"command": "-workbench.action.debug.stepInto", | |
"when": "inDebugMode" | |
}, | |
{ | |
"key": "ctrl+;", | |
"command": "editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "-editor.action.quickFix", | |
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+.", | |
"command": "editor.fold", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "-editor.fold", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+;", | |
"command": "editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "-editor.action.inPlaceReplace.down", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+.", | |
"command": "editor.foldAll", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+shift+-", | |
"command": "-editor.foldAll", | |
"when": "editorFocus" | |
}, | |
{ | |
"key": "ctrl+t", | |
"command": "-workbench.action.git.sync" | |
}, | |
{ | |
"key": "ctrl+n", | |
"command": "-workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "editor.action.smartSelect.grow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "-editor.action.smartSelect.grow", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "-workbench.action.closeWindow" | |
}, | |
{ | |
"key": "ctrl+alt+w", | |
"command": "editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+w", | |
"command": "-editor.action.smartSelect.shrink", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+backspace", | |
"command": "workbench.action.terminal.deleteWordLeft", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "-workbench.action.terminal.deleteWordLeft", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+backspace", | |
"command": "deleteWordLeft", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+backspace", | |
"command": "-deleteWordLeft", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
] |
https://github.com/notable/notable/tags
Good markdown, notable for taking notes on Windows
settings.json (04/2021 - WIndows)
"editor.multiCursorModifier": "ctrlCmd",
{
"update.channel": "none",
"git.enabled": true,
"editor.detectIndentation": true,
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true,
"files.autoSave": "onWindowChange",
"window.restoreWindows": "folders",
"emmet.triggerExpansionOnTab": true,
"workbench.sideBar.location": "left",
"workbench.iconTheme": "material-icon-theme",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"settingsSync.ignoredSettings": [
],
"java.project.importOnFirstTimeStartup": "automatic",
"java.home": "C:\\Users\\phuc.tran\\OneDrive - Travelport\\sw\\jdk-12.0.2",
"java.help.firstView": "gettingStarted",
"redhat.telemetry.enabled": true,
"maven.terminal.useJavaHome": true,
"workbench.colorTheme": "Dracula Soft",
"workbench.startupEditor": "newUntitledFile"
}
settings.json (05/2021 - Mac)
{
"update.mode": "none",
"git.enabled": true,
"editor.detectIndentation": true,
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"editor.trimAutoWhitespace": true,
"files.autoSave": "onWindowChange",
"window.restoreWindows": "folders",
"emmet.syntaxProfiles": {
"javascript": "html",
"jsx-sublime-babel-tags": "javascriptreact",
"xml": {
"attr_quotes": "single"
}
},
"emmet.triggerExpansionOnTab": true,
"workbench.sideBar.location": "left",
"java.home": "/Library/Java/JavaVirtualMachines/openjdk-15.0.2/Contents/Home",
"java.help.firstView": "gettingStarted",
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"java.project.importOnFirstTimeStartup": "automatic",
"workbench.colorTheme": "Dracula",
"redhat.telemetry.enabled": true,
"java.configuration.runtimes": [
{
"name": "JavaSE-16",
"path": "/Library/Java/JavaVirtualMachines/openjdk-16.0.1/Contents/Home"
},
{
"name": "JavaSE-15",
"path": "/Library/Java/JavaVirtualMachines/openjdk-15.0.2/Contents/Home",
"default": true
},
{
"name": "JavaSE-1.8",
"path": "/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home"
},
{
"name": "JavaSE-11",
"path": "/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home"
}
],
"editor.minimap.enabled": false
}
newest 05/2021
// Place your key bindings in this file to override the defaults
// vscode keybindings.json with IJ keymaps (04/2021)
[
{ "key": "alt+up",
"command": "cursorUpSelect",
"when": "editorTextFocus"
},
{ "key": "alt+down",
"command": "cursorDownSelect",
"when": "editorTextFocus"
},
{ "key": "ctrl+shift+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus"
},
{ "key": "alt+f3",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{ "key": "ctrl+alt+g",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "ctrl+backspace",
"command": "editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+y",
"command": "-editor.action.deleteLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+y",
"command": "editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor"
},
{
"key": "ctrl+shift+i",
"command": "-editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor"
},
{
"key": "ctrl+shift+z",
"command": "redo",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+y",
"command": "-redo",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+f12",
"command": "-editor.action.previewDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "f6",
"command": "editor.action.diffReview.prev",
"when": "isInDiffEditor"
},
{
"key": "shift+f7",
"command": "-editor.action.diffReview.prev",
"when": "isInDiffEditor"
},
{
"key": "f12",
"command": "-editor.action.goToDeclaration",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "workbench.action.debug.pause",
"when": "inDebugMode"
},
{
"key": "f6",
"command": "-workbench.action.debug.pause",
"when": "inDebugMode"
},
{
"key": "f7",
"command": "-workbench.action.debug.stepInto",
"when": "inDebugMode"
},
{
"key": "ctrl+;",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "editor.fold",
"when": "editorFocus"
},
{
"key": "ctrl+-",
"command": "-editor.fold",
"when": "editorFocus"
},
{
"key": "ctrl+shift+;",
"command": "editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+.",
"command": "-editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+.",
"command": "editor.foldAll",
"when": "editorFocus"
},
{
"key": "ctrl+shift+-",
"command": "-editor.foldAll",
"when": "editorFocus"
},
{
"key": "ctrl+t",
"command": "-workbench.action.git.sync"
},
{
"key": "ctrl+n",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+shift+w",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+w",
"command": "workbench.action.closeWindow"
},
{
"key": "ctrl+alt+w",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+backspace",
"command": "workbench.action.terminal.deleteWordLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+backspace",
"command": "-workbench.action.terminal.deleteWordLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+backspace",
"command": "deleteWordLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+backspace",
"command": "-deleteWordLeft",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+g",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+w",
"command": "-workbench.action.closeWindow"
},
{
"key": "ctrl+s",
"command": "saveAll"
},
{
"key": "ctrl+k s",
"command": "-saveAll"
},
{
"key": "ctrl+k s",
"command": "workbench.action.files.save"
},
{
"key": "ctrl+s",
"command": "-workbench.action.files.save"
}
]
.hyper Terminal / iterms for Windows
hyper configs:
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
// default font weight: 'normal' or 'bold'
fontWeight: 'normal',
// font weight for bold characters: 'normal' or 'bold'
fontWeightBold: 'bold',
// line height as a relative unit
lineHeight: 1,
// letter spacing as a relative unit
letterSpacing: 0,
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: 'rgba(248,28,229,0.8)',
// terminal text color under BLOCK cursor
cursorAccentColor: '#000',
// `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
cursorShape: 'BLOCK',
// set to `true` (without backticks and without quotes) for blinking cursor
cursorBlink: false,
// color of the text
foregroundColor: '#fff',
// terminal background color
// opacity is only supported on macOS
backgroundColor: '#000',
// terminal selection color
selectionColor: 'rgba(248,28,229,0.3)',
// border color (window, tabs)
borderColor: '#333',
// custom CSS to embed in the main window
css: '',
// custom CSS to embed in the terminal window
termCSS: '',
// if you're using a Linux setup which show native menus, set to false
// default: `true` on Linux, `true` on Windows, ignored on macOS
showHamburgerMenu: '',
// set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
showWindowControls: '',
// custom padding (CSS format, i.e.: `top right bottom left`)
padding: '12px 14px',
// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
black: '#000000',
red: '#C51E14',
green: '#1DC121',
yellow: '#C7C329',
blue: '#0A2FC4',
magenta: '#C839C5',
cyan: '#20C5C6',
white: '#C7C7C7',
lightBlack: '#686868',
lightRed: '#FD6F6B',
lightGreen: '#67F86F',
lightYellow: '#FFFA72',
lightBlue: '#6A76FB',
lightMagenta: '#FD7CFC',
lightCyan: '#68FDFE',
lightWhite: '#FFFFFF',
},
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
//
// Windows
// - Make sure to use a full path if the binary name doesn't work
// - Remove `--login` in shellArgs
//
// Bash on Windows
// - Example: `C:\\Windows\\System32\\bash.exe`
//
// PowerShell on Windows
// - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
shell: 'C:\\Program Files\\Git\\git-cmd.exe',
// for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`)
// by default `['--login']` will be used
shellArgs: ['--command=usr/bin/bash.exe', '-l', '-i'],
// for environment variables
env: {},
// set to `false` for no bell
bell: 'SOUND',
// if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard
copyOnSelect: false,
// if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH
defaultSSHApp: true,
// if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no
// selection is present (`true` by default on Windows and disables the context menu feature)
quickEdit: false,
// choose either `'vertical'`, if you want the column mode when Option key is hold during selection (Default)
// or `'force'`, if you want to force selection regardless of whether the terminal is in mouse events mode
// (inside tmux or vim with mouse mode enabled for example).
macOptionSelectionMode: 'vertical',
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
// Whether to use the WebGL renderer. Set it to false to use canvas-based
// rendering (slower, but supports transparent backgrounds)
webGLRenderer: true,
// for advanced config flags please refer to https://hyper.is/#cfg
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
plugins: ["hyper-material-theme"],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: [],
keymaps: {
"window:new":"Ctrl+Shift+N"
},
};
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vscode keybindings.json with IJ keymaps (04/2021)