Add vscode autosuggest vim navigation
This commit is contained in:
parent
a09a40f5de
commit
70ba2670b3
1 changed files with 25 additions and 0 deletions
|
@ -33,7 +33,32 @@ in {
|
||||||
"extensions.autoUpdate" = false;
|
"extensions.autoUpdate" = false;
|
||||||
# Startup
|
# Startup
|
||||||
"workbench.startupEditor" = "none";
|
"workbench.startupEditor" = "none";
|
||||||
|
# Vim
|
||||||
|
"editor.lineNumbers" = "relative";
|
||||||
};
|
};
|
||||||
|
keybindings = [
|
||||||
|
# Navigating Autosuggest and Quick Open entries
|
||||||
|
{
|
||||||
|
"key" = "ctrl+j";
|
||||||
|
"command" = "selectNextSuggestion";
|
||||||
|
"when" = "suggestWidgetVisible";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "ctrl+k";
|
||||||
|
"command" = "selectPrevSuggestion";
|
||||||
|
"when" = "suggestWidgetVisible";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "ctrl+j";
|
||||||
|
"command" = "workbench.action.quickOpenSelectNext";
|
||||||
|
"when" = "inQuickOpen";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "ctrl+k";
|
||||||
|
"command" = "workbench.action.quickOpenSelectPrevious";
|
||||||
|
"when" = "inQuickOpen";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue