Last active
February 10, 2020 06:50
-
-
Save zlin888/423012952616017e780bbebdde6a7d55 to your computer and use it in GitHub Desktop.
vscode-setting
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 override the defaultsauto[] | |
[ | |
{ | |
"key": "right", | |
"command": "-extension.vim_right", | |
"when": "editorTextFocus && vim.active && !inDebugRepl" | |
}, | |
{ | |
"key": "shift+backspace", | |
"command": "-extension.vim_shift+backspace", | |
"when": "editorTextFocus && vim.active && vim.use<shift+BS> && !inDebugRepl && vim.mode == 'SearchInProgressMode'" | |
}, | |
{ | |
"key": "shift+tab", | |
"command": "-extension.vim_shift+tab", | |
"when": "editorFocus && vim.active && !inDebugRepl && vim.mode != 'Insert'" | |
}, | |
{ | |
"key": "up", | |
"command": "-extension.vim_up", | |
"when": "editorTextFocus && vim.active && !inDebugRepl && !suggestWidgetMultipleSuggestions && !suggestWidgetVisible" | |
}, | |
{ | |
"key": "ctrl+q", | |
"command": "-extension.vim_winCtrlQ", | |
"when": "editorTextFocus && vim.active && vim.use<C-q> && !inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+shift+k", | |
"command": "workbench.action.terminal.resizePaneUp", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+j", | |
"command": "workbench.action.terminal.resizePaneDown", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+shift+e", | |
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "ctrl+shift+enter", | |
"command": "python.execInTerminal", | |
"when": "editorTextFocus && !findInputFocussed && !python.datascience.ownsSelection && !replaceInputFocussed && editorLangId == 'python'" | |
}, | |
{ | |
"key": "cmd+n", | |
"command": "workbench.action.terminal.new", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+h", | |
"command": "workbench.action.navigateLeft" | |
}, | |
{ | |
"key": "ctrl+l", | |
"command": "workbench.action.navigateRight" | |
}, | |
{ | |
"key": "ctrl+k", | |
"command": "workbench.action.navigateUp" | |
}, | |
{ | |
"key": "ctrl+j", | |
"command": "workbench.action.navigateDown" | |
}, | |
{ | |
"key": "ctrl+; ctrl+'", | |
"command": "workbench.action.joinTwoGroups" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "editor.action.startFindReplaceAction" | |
}, | |
{ | |
"key": "alt+cmd+f", | |
"command": "-editor.action.startFindReplaceAction" | |
}, | |
{ | |
"key": "ctrl+g", | |
"command": "-extension.vim_ctrl+g", | |
"when": "editorTextFocus && vim.active && vim.use<C-g> && !inDebugRepl" | |
}, | |
] |
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
{ | |
"window.zoomLevel": 0, | |
"python.jediEnabled": false, | |
"files.autoSave": "afterDelay", | |
"workbench.editor.enablePreview": false, | |
//VIM Setting | |
"vim.easymotion": true, | |
"vim.sneak": true, | |
"vim.sneakUseIgnorecaseAndSmartcase": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.insertModeKeyBindings": [ | |
{ | |
"before": [ | |
"j", | |
"j" | |
], | |
"after": [ | |
"<Esc>" | |
] | |
}, | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before" :[ | |
"s" | |
], | |
"after" : | |
[ | |
"<leader>", | |
"<leader>", | |
"s" | |
] | |
}, | |
{ | |
"before": [ | |
"q" | |
], | |
"after": [ | |
"<esc>" | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"d" | |
], | |
"after": [ | |
"d", | |
"d" | |
] | |
}, | |
{ | |
"before": [ | |
"<C-n>" | |
], | |
"commands": [ | |
":nohl" | |
] | |
}, | |
{ | |
"before": [ | |
":" | |
], | |
"commands": [ | |
"workbench.action.showCommands", | |
] | |
}, | |
{ | |
"before": [ | |
"<leader>", | |
"e", | |
], | |
"commands": [ | |
"workbench.view.explorer" | |
] | |
}, | |
{ | |
"before": [ | |
"H" | |
], | |
"after": [ | |
"gT" | |
] | |
}, | |
{ | |
"before": [ | |
"/" | |
], | |
"commands": [ | |
"actions.find" | |
] | |
}, | |
{ | |
"before": [ | |
"?" | |
], | |
"commands": [ | |
"editor.action.startFindReplaceAction" | |
] | |
} | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
">" | |
], | |
"commands": [ | |
"editor.action.indentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<" | |
], | |
"commands": [ | |
"editor.action.outdentLines" | |
] | |
}, | |
], | |
"vim.handleKeys": { | |
"<C-a>": false, | |
"<C-f>": false, | |
}, | |
"vim.leader": "<space>", | |
"sync.gist": "b6b8430474b88de485ab9f5e7e64d338", | |
"files.autoSaveDelay": 300, | |
"code-runner.runInTerminal": true, | |
"explorer.confirmDelete": false, | |
"editor.wordWrap": "on", | |
"C_Cpp.updateChannel": "Insiders", | |
"editor.fontSize": 13.5, | |
"workbench.sideBar.location": "left", | |
"go.useLanguageServer": true, | |
"debug.onTaskErrors": "debugAnyway", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment