mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
codium
This commit is contained in:
1 parent
e71abc6c13
commit
b87dc873e9
13 files changed
+1298
-15
No files matched your search
@@ -0,0 +1,44 @@
|
||||
{ ... }:
|
||||
{
|
||||
flake.homeModules.home-vscode-projects =
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.elars.vscode.projectRoots = lib.mkOption {
|
||||
type = lib.types.listOf lib.types.str;
|
||||
default = [ config.home.homeDirectory ];
|
||||
};
|
||||
|
||||
config.programs.vscodium.profiles.default = {
|
||||
extensions = [ pkgs.vscode-extensions.alefragnani.project-manager ];
|
||||
|
||||
userSettings = {
|
||||
"projectManager.git.baseFolders" = config.elars.vscode.projectRoots;
|
||||
"projectManager.git.maxDepthRecursion" = 2;
|
||||
"projectManager.git.ignoredFolders" = [
|
||||
".direnv"
|
||||
".git"
|
||||
".jj"
|
||||
"build"
|
||||
"node_modules"
|
||||
"result"
|
||||
"target"
|
||||
];
|
||||
"projectManager.sortList" = "Recent";
|
||||
};
|
||||
|
||||
# space o — project manager
|
||||
keybindings = [
|
||||
{
|
||||
key = "space o";
|
||||
command = "projectManager.listProjects";
|
||||
when = "editorTextFocus && (extension.helixKeymap.normalMode || extension.helixKeymap.visualMode)";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user