mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-21 17:02:18 +00:00
add more vscode configs
This commit is contained in:
parent
242f6f6c42
commit
2e628b7c4d
1 changed files with 74 additions and 2 deletions
|
@ -24,24 +24,96 @@
|
|||
vscodevim.vim
|
||||
yzhang.markdown-all-in-one
|
||||
];
|
||||
keybindings = [
|
||||
{
|
||||
key = "backspace";
|
||||
command = "-markdown.extension.onBackspaceKey";
|
||||
when = "editorTextFocus && !editorHasMultipleSelections && !editorReadonly && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && vim.mode != 'CommandlineInProgress' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'EasyMotionMode' && vim.mode != 'Normal' && vim.mode != 'Replace' && vim.mode != 'SearchInProgressMode' && vim.mode != 'SurroundInputMode' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine' && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+alt+down";
|
||||
command = "-markdown.extension.onCopyLineDown";
|
||||
when = "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "ctrl+shift+alt+up";
|
||||
command = "-markdown.extension.onCopyLineUp";
|
||||
when = "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "ctrl+enter";
|
||||
command = "-markdown.extension.onCtrlEnterKey";
|
||||
when = "editorTextFocus && !editorHasMultipleSelections && !editorReadonly && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "enter";
|
||||
command = "-markdown.extension.onEnterKey";
|
||||
when = "editorTextFocus && !editorHasMultipleSelections && !editorReadonly && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && vim.mode != 'CommandlineInProgress' && vim.mode != 'EasyMotionInputMode' && vim.mode != 'EasyMotionMode' && vim.mode != 'Normal' && vim.mode != 'Replace' && vim.mode != 'SearchInProgressMode' && vim.mode != 'SurroundInputMode' && vim.mode != 'Visual' && vim.mode != 'VisualBlock' && vim.mode != 'VisualLine' && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "ctrl+]";
|
||||
command = "-markdown.extension.onIndentLines";
|
||||
when = "editorTextFocus && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "alt+down";
|
||||
command = "-markdown.extension.onMoveLineDown";
|
||||
when = "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "alt+up";
|
||||
command = "-markdown.extension.onMoveLineUp";
|
||||
when = "editorTextFocus && !editorReadonly && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "ctrl+[";
|
||||
command = "-markdown.extension.onOutdentLines";
|
||||
when = "editorTextFocus && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "shift+enter";
|
||||
command = "-markdown.extension.onShiftEnterKey";
|
||||
when = "editorTextFocus && !editorHasMultipleSelections && !editorReadonly && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "shift+tab";
|
||||
command = "-markdown.extension.onShiftTabKey";
|
||||
when = "editorTextFocus && markdown.extension.editor.cursor.inList && !editorHasMultipleSelections && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
{
|
||||
key = "tab";
|
||||
command = "-markdown.extension.onTabKey";
|
||||
when = "editorTextFocus && markdown.extension.editor.cursor.inList && !editorHasMultipleSelections && !editorReadonly && !editorTabMovesFocus && !hasOtherSuggestions && !hasSnippetCompletions && !inSnippetMode && !inlineSuggestionVisible && !markdown.extension.editor.cursor.inFencedCodeBlock && !markdown.extension.editor.cursor.inMathEnv && !suggestWidgetVisible && editorLangId =~ /^markdown$|^rmd$|^quarto$/";
|
||||
}
|
||||
];
|
||||
userSettings = {
|
||||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
"editor.acceptSuggestionOnCommitCharacter" = false;
|
||||
"editor.acceptSuggestionOnEnter" = "off";
|
||||
"editor.detectIndentation" = false;
|
||||
"editor.inlineSuggest.enabled" = true;
|
||||
"editor.lineNumbers" = "relative";
|
||||
"editor.renderControlCharacters" = true;
|
||||
"editor.renderWhitespace" = "boundary";
|
||||
"editor.renderWhitespace" = "all";
|
||||
"editor.tabCompletion" = "off";
|
||||
"editor.tabSize" = 2;
|
||||
"explorer.confirmDragAndDrop" = false;
|
||||
"files.hotExit" = "onExitAndWindowClose";
|
||||
"files.trimTrailingWhitespace" = true;
|
||||
"git.confirmSync" = false;
|
||||
"git.ignoreLegacyWarning" = true;
|
||||
"github.copilot.enable" = {
|
||||
"*" = true;
|
||||
"plaintext" = true;
|
||||
"markdown" = true;
|
||||
"scminput" = false;
|
||||
"yaml" = true;
|
||||
};
|
||||
"powershell.codeFormatting.useCorrectCasing" = true;
|
||||
"security.workspace.trust.untrustedFiles" = "open";
|
||||
"vim.statusBarColorControl" = true;
|
||||
"vim.useCtrlKeys" = false;
|
||||
"window.restoreWindows" = "all";
|
||||
"window.restoreWindows" = "none";
|
||||
"workbench.startupEditor" = "none";
|
||||
"workbench.colorCustomizations" = {
|
||||
"statusBar.background" = "#005f5f";
|
||||
|
|
Loading…
Reference in a new issue