editor/code/ MyRegularSettings


Extensions

Settings.json

Note that this is from my Windows setup

{
  "terminal.integrated.shell.windows": "C:\\cygwin64\\bin\\bash.exe",
  "terminal.integrated.env.windows": {
      "CHERE_INVOKING": "1"
  },
  "terminal.integrated.shellArgs.windows": [
      "--login",
      "-i"
  ],
  "editor.fontFamily": "Consolas, 'Courier New', monospace",
  "files.autoSave": "off",
  "terminal.integrated.allowChords": false,
  "tabnine.experimentalAutoImports": true,
  "editor.renderControlCharacters": false,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "editor.suggestOnTriggerCharacters": true,
  "editor.wordBasedSuggestions": false,
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "files.exclude": {
    "**/.classpath": true,
    "**/.project": true,
    "**/.settings": true,
    "**/.factorypath": true
  },
  "vim.disableExtension": true,
  "workbench.startupEditor": "welcomePage",
  "workbench.editorAssociations": {
    "*.ipynb": "jupyter.notebook.ipynb"
  },
  "remote.SSH.remotePlatform": {
    "titch": "linux",
    "midge": "linux",
    "t420b": "linux"
  },
  "security.workspace.trust.untrustedFiles": "open",
  "cmake.configureOnOpen": false,
  "editor.acceptSuggestionOnCommitCharacter": false
}

Keybindings.json

On recent versions of Code, I need to disable Ctrl-C and Ctrl-V in the terminal window as I use Cygwin as my regular command-line environment under Windows.

[
  {
      "key": "ctrl+pagedown",
      "command": "workbench.action.terminal.focusNext",
      "when": "terminalFocus"
  },
  {
      "key": "ctrl+pageup",
      "command": "workbench.action.terminal.focusPrevious",
      "when": "terminalFocus"
  },

  // this is how you remove a keybinding -- note the - at the start of the command
  {
      "key": "ctrl+alt+v",
      "command": "toggleVim"
  },
  { 
    "key": "ctrl+v", 
    "command": "-workbench.action.terminal.paste",
    "when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported" 
  },
  { 
    "key": "ctrl+shift+c",
    "command": "-workbench.action.terminal.openNativeConsole",
    "when": "!terminalFocus" 
  }

]