dotfiles/home/dot_config/zed/snippets/c.json
js0ny 2a1127bf10 refractor: on chezmoi
Add multiple variables in chezmoi.toml, apply a more detailed ignore rule

Use of chezmoi scripts

Use Neogit for default git GUI (TUI)

Integrate chezmoi with age
2025-11-08 07:24:43 +00:00

28 lines
543 B
JSON

{
"main": {
"prefix": "main",
"body": [
"int main() {",
" $1",
" return 0;",
"}"
],
"description": "Main function with no arguments"
},
"mainn": {
"prefix": "mainn",
"body": [
"",
"int main(int argc, char *argv[]) {",
" $1",
" return 0;",
"}"
],
"description": "Main function with arguments"
},
"once": {
"prefix": "#once",
"body": ["#ifndef $1", "#define $1", "", "$2", "", "#endif"],
"description": "Include guard"
}
}