mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat: Add zed & awesomeWM config
This commit is contained in:
parent
cb501820b7
commit
346a975e80
12 changed files with 843 additions and 35 deletions
28
tools/zed/snippets/c.json
Executable file
28
tools/zed/snippets/c.json
Executable 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"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue