Last active
July 25, 2024 07:11
-
-
Save jiz4oh/d763f906c65e302b0162a3c05723138b to your computer and use it in GitHub Desktop.
A .projections.json collection. Mostly used by [vim-projectionist](https://github.com/tpope/vim-projectionist)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"*.go": { | |
"alternate": "{}_test.go" | |
}, | |
"*_test.go": { | |
"alternate": "{gotest}.go" | |
}, | |
"go.mod": { | |
"type": "lib", | |
"alternate": "go.sum", | |
"dispatch": "go mod tidy" | |
}, | |
"go.sum": { | |
"alternate": "go.mod", | |
"dispatch": "go mod tidy" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" https://helm.sh/docs/topics/charts/ | |
{ | |
"templates/*.yaml": { | |
"make": "helm", | |
"dispatch": "helm template %:s/.*/\=projectionist#path()/" | |
}, | |
"values.yaml": { | |
"make": "helm", | |
"dispatch": "helm template %:s/.*/\=projectionist#path()/" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"scaffolds/*.md": { | |
"type": "scaffold" | |
}, | |
"source/_posts/*.md": { | |
"type": "post" | |
}, | |
"source/_drafts/*.md": { | |
"type": "draft" | |
}, | |
"_config.yml": { | |
"type": "config" | |
}, | |
"*": { | |
"make": "hexo", | |
"start": "hexo server" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"*": { | |
"console": "node" | |
}, | |
"package.json": { | |
"type": "lib", | |
"alternate": [ | |
"pnpm-lock.yaml", | |
"yarn.lock", | |
"package-lock.json" | |
] | |
}, | |
"package-lock.json": { | |
"dispatch": "npm install", | |
"alternate": "package.json", | |
"start": "npm run start" | |
}, | |
"yarn.lock": { | |
"dispatch": "yarn install", | |
"alternate": "package.json", | |
"start": "yarn run start" | |
}, | |
"pnpm-lock.yaml": { | |
"dispatch": "pnpm install", | |
"alternate": "package.json", | |
"start": "pnpm run start" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"*.py": { | |
"console": "python", | |
"dispatch": "python %:p:S" | |
}, | |
"requirements.txt": { | |
"make": "pip", | |
"dispatch": "pip install -r %" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment