create shared niri config, refactor generic feature modules

This commit is contained in:
greyweather committed 2026-09-06 01:59:38 +01:00
1 parent 257654332d
commit e1a08112a7
23 files changed
+353 -410

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
[
{
"command": "workbench.action.closeActiveEditor",
"key": "alt+q"
},
{
"command": "workbench.action.files.newFile",
"key": "alt+enter"
},
{
"key": "alt+right",
"command": "workbench.action.nextEditor"
},
{
"key": "ctrl+pagedown",
"command": "-workbench.action.nextEditor"
},
{
"key": "alt+left",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+pageup",
"command": "-workbench.action.previousEditor"
}
]
+59
View File
@@ -0,0 +1,59 @@
{
"[nix]": {
"editor.tabSize": 2
},
"chat.disableAIFeatures": true,
"patternStore.savedPatterns": [
{
"label": "convert JSON pairs to Nix format",
"find": "\"(\\w+)\": (.+?),?$",
"replace": "$1 = $2;",
"flags": {
"isRegex": true,
"isCaseSensitive": false,
"matchWholeWord": false,
"isMultiline": false
},
"filesToInclude": "*.nix",
"filesToExclude": "*.json",
"scope": "global"
},
{
"label": "convert JSON opening bracket to Nix format",
"find": "(\"\\w+\"): \\{$",
"replace": "$1 = {",
"flags": {
"isRegex": true,
"isCaseSensitive": false,
"matchWholeWord": false,
"isMultiline": false
},
"filesToInclude": "*.nix",
"filesToExclude": "*.json",
"scope": "global"
},
{
"label": "convert JSON closing bracket to Nix format",
"find": "\\},?$",
"replace": "};",
"flags": {
"isRegex": true,
"isCaseSensitive": false,
"matchWholeWord": false,
"isMultiline": false
},
"filesToInclude": "*.nix",
"filesToExclude": "*.json",
"scope": "global"
}
],
"search.exclude": {
"**/assets/**": true,
"**/flake.lock": true
},
"update.mode": "none",
"workbench.welcomePage.walkthroughs.openOnInstall": false,
"explorer.confirmDelete": false,
"update.showReleaseNotes": false,
"explorer.confirmDragAndDrop": false
}