Skip to content

Instantly share code, notes, and snippets.

@nviennot
Created November 17, 2021 17:07
Show Gist options
  • Save nviennot/fd9635bf0edc02c4d9376820cdf50fb3 to your computer and use it in GitHub Desktop.
Save nviennot/fd9635bf0edc02c4d9376820cdf50fb3 to your computer and use it in GitHub Desktop.
vscode settings
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+enter",
"command": "renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "enter",
"command": "-renameFile",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "enter",
"command": "list.select",
"when": "listFocus && !inputFocus"
},
{"key": "cmd+a", "command": "workbench.action.terminal.focus"},
{
"key": "cmd+a",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "cmd+m",
"command": "editor.action.marker.nextInFiles",
"when": "editorFocus && !editorReadonly"
},
{
"key": "f8",
"command": "-editor.action.marker.nextInFiles",
"when": "editorFocus && !editorReadonly"
},
{
"key": "cmd+i",
"command": "editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "cmd+k cmd+i",
"command": "-editor.action.showHover",
"when": "editorTextFocus"
},
{
"key": "cmd+i",
"command": "editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "cmd+k cmd+i",
"command": "-editor.debug.action.showDebugHover",
"when": "editorTextFocus && inDebugMode"
},
{
"key": "cmd+o",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "cmd+o",
"command": "goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "f12",
"command": "-goToNextReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "cmd+o",
"command": "editor.gotoNextSymbolFromResult",
"when": "hasSymbols"
},
{
"key": "f12",
"command": "-editor.gotoNextSymbolFromResult",
"when": "hasSymbols"
},
{
"key": "shift+cmd+o",
"command": "goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
{
"key": "cmd+h",
"command": "XXX",
"when": "editorTextFocus"
},{
"key": "shift+f12",
"command": "-goToPreviousReference",
"when": "inReferenceSearchEditor || referenceSearchVisible"
},
]
{
"editor.renderControlCharacters": false,
"breadcrumbs.enabled": false,
"editor.minimap.enabled": false,
"editor.cursorBlinking": "phase",
"editor.lightbulb.enabled": false,
"rust-analyzer.inlayHints.typeHints": false,
"rust-analyzer.inlayHints.chainingHints": true,
"rust-analyzer.inlayHints.parameterHints": false,
"editor.parameterHints.enabled": false,
"zenMode.hideLineNumbers": false,
"terminal.integrated.macOptionIsMeta": true,
"editor.codeLens": false,
"editor.scrollbar.verticalScrollbarSize": 0,
"rust-analyzer.completion.postfix.enable": false,
"rust-analyzer.completion.addCallArgumentSnippets": false,
"workbench.panel.defaultLocation": "right",
"editor.wordWrapColumn": 100,
"workbench.colorCustomizations": {
"statusBar.background": "#102020",
"statusBar.foreground": "#929292",
},
"editor.semanticTokenColorCustomizations": {
"rules": {
"*.mutable": {
"fontStyle": ""
}
}
},
"editor.tokenColorCustomizations": {
"comments": "#7e7e7e"
},
"editor.fontFamily": "'DejaVu Sans Mono for Powerline', 'Fira Code', Menlo, Monaco, monospace",
"editor.fontLigatures": true,
"editor.renderIndentGuides": false,
"terminal.integrated.drawBoldTextInBrightColors": false,
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 11,
"editor.lineHeight": 15,
"terminal.integrated.fontSize": 11,
"terminal.integrated.lineHeight": 1,
"extensions.ignoreRecommendations": false,
"vim.leader": ",",
"explorer.confirmDragAndDrop": false,
"files.insertFinalNewline": true,
"cSpell.userWords": [
"checkpointing",
"cloexec",
"popen",
"sigchld",
"sigusr",
"unistd",
"zstd"
],
"cSpell.enabled": false,
"rust-analyzer.completion.autoimport.enable": false,
"rust-analyzer.cargo.target": "x86_64-unknown-linux-gnu",
//"rust-analyzer.checkOnSave.extraArgs": [
//"--target=x86_64-unknown-linux-gnu"
//],
"explorer.confirmDelete": false,
"search.exclude": {
"deps/": true
},
"rust-analyzer.updates.channel": "stable",
"workbench.colorTheme": "Default Dark+",
"editor.inlineSuggest.enabled": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"aws.profile": "profile:nico",
"redhat.telemetry.enabled": false,
"github.copilot.enable": {
"*": false,
"yaml": false,
"plaintext": false,
"markdown": false
},
"rust-analyzer.cargo.allFeatures": true,
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.profiles.osx": {
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
},
"workbench.activityBar.visible": false,
"window.zoomLevel": 1,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment