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
This commit is contained in:
js0ny 2025-11-08 07:24:43 +00:00
parent 5921775239
commit 2a1127bf10
38 changed files with 988 additions and 129 deletions

View file

@ -0,0 +1,28 @@
{
"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"
}
}