nixosMod/frontend/vscode: import keybindings from other host

main
Felix Stupp 2 months ago
parent cb811d6b8c
commit 70f279b1df
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -293,6 +293,30 @@ in
# IDE-specific # IDE-specific
jnoortheen.nix-ide jnoortheen.nix-ide
]; ];
keybindingsNext = {
# tabbing in *visually visible* order
"ctrl+tab" = [
{
command = "-workbench.action.quickOpenNavigateNextInEditorPicker";
when = "inEditorsPicker && inQuickOpen";
}
"-workbench.action.quickOpenPreviousRecentlyUsedEditorInGroup"
"workbench.action.nextEditor"
];
"ctrl+shift+tab" = [
{
command = "-workbench.action.quickOpenNavigatePreviousInEditorPicker";
when = "inEditorsPicker && inQuickOpen";
}
"-workbench.action.quickOpenLeastRecentlyUsedEditorInGroup"
"workbench.action.previousEditor"
];
# disable overlappings from vim plugin
"ctrl+p" = lib.singleton {
command = "-extension.vim_ctrl+p";
when = "editorTextFocus && vim.active && vim.use<C-p> && !inDebugRepl || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || vim.active && vim.use<C-p> && !inDebugRepl && vim.mode == 'SearchInProgressMode'";
};
};
mutableExtensionsDir = false; mutableExtensionsDir = false;
package = pkgs.vscodium; package = pkgs.vscodium;
userSettings = { userSettings = {

Loading…
Cancel
Save