lkadslkjdaslkjsadlkj

This commit is contained in:
Peder Bergebakken Sundt 2025-03-13 13:07:00 +01:00
parent a2d51c1a4d
commit 3d0cf9ee60
5 changed files with 97 additions and 4 deletions

@ -62,7 +62,7 @@
"ctrl-shift-l": "language_selector::Toggle",
"alt-enter": "editor::FindAllReferences",
// "ctrl-shift-enter": "editor::FindAllReferences",
"ctrl-enter": "editor::GoToDefinition", // TODO: open-url, and somehow disable FindAllReferences fallback behavior here
// "ctrl-enter": ["editor::GoToDefinition", "editor::OpenUrl"],
"ctrl-q": null, // "zed::Quit",

@ -25,10 +25,10 @@
"theme": "Railscast",
"use_autoclose": false,
"ui_font_features": {
"calt": true // disable ligatures
"calt": false // disable ligatures
},
"buffer_font_features": {
"calt": true // disable ligatures
"calt": false // disable ligatures
// "font_family": "Cousine"
},
"seed_search_query_from_cursor": "selection",
@ -48,6 +48,15 @@
"show": "never"
}
},
"git": {
// I like it, but it is too slow https://github.com/zed-industries/zed/issues/13547
"inline_blame": { "enabled": false }
},
"preview_tabs": {
// Those annoying tabs that close themselves
// I'd like more control over what is made ino a preview and not
"enabled": false
},
"auto_install_extensions": {
// "railcast": true,
"cython": true,

@ -49,7 +49,7 @@
"body": "{% if ${1:expr} %}\n{% endif %}",
"description": "Jinja snippet 'If'"
},
"if": {
"for": {
"prefix": "for",
"body": "{% for ${1:expr} in ${2:expr} %}\n{% endfor %}",
"description": "Jinja snippet 'If'"

67
snippets/markdown.json Normal file

@ -0,0 +1,67 @@
{
"Comment": {
"prefix": "comment",
"body": "<!--\\n$1\\n-->$0",
"description": "Markdown snippet for 'Comment'"
},
"Todo": {
"prefix": "todo",
"body": "<!-- TODO: $1 -->$0",
"description": "Markdown snippet for 'Todo'"
},
"Div": {
"prefix": "div",
"body": "<div class=\"$1\" id=\"$2\">\\n$3\\n</div>$0",
"description": "Markdown snippet for 'Div'"
},
"Equation": {
"prefix": "eq",
"body": "\\\\$\\\\$ $1\\n\\\\$\\\\$${3: \\\\{#eq:${2:TODOs}\\\\}}$0",
"description": "Markdown snippet for 'Equation'"
},
"AlignedEquation": {
"prefix": "eqs",
"body": "\\\\$\\\\$ \\\\\\\\begin\\\\{aligned\\\\}\\n\\t\\\\\\\\\\\\\\\\ ${1:a &= b} \\n\\t\\\\\\\\\\\\\\\\ ${2:c &= d}\\n\\\\\\\\end\\\\{aligned\\\\} \\\\$\\\\$${4: \\\\{#eq:${3:TODO}\\\\}}$0",
"description": "Markdown snippet for 'AlignedEquation'"
},
"EquationSolve": {
"prefix": "eqso",
"body": "\\\\$\\\\$ \\\\\\\\begin\\\\{aligned\\\\}\\n\\t${1:a}\\n\\t\\t&= ${2:b} \\\\\\\\\\\\\\\\\\n\\\\\\\\end\\\\{aligned\\\\} \\\\$\\\\$${4: \\\\{#eq:${3:TODO}\\\\}}$0",
"description": "Markdown snippet for 'EquationSolve'"
},
"Fraction": {
"prefix": "fr",
"body": "\\\\\\\\frac\\\\{$1\\\\}\\\\{$2\\\\}$0",
"description": "Markdown snippet for 'Fraction'"
},
"LeftRight": {
"prefix": "lr",
"body": "\\\\\\\\left${1: \\\\\\\\right}$0",
"description": "Markdown snippet for 'LeftRight'"
},
"LeftRightAngle": {
"prefix": "lra",
"body": "\\\\\\\\left\\\\\\\\langle $1 \\\\\\\\right\\\\\\\\rangle$0",
"description": "Markdown snippet for 'LeftRightAngle'"
},
"smallcaps": {
"prefix": "sm",
"body": "[$1]{.smallcaps}$0",
"description": "Markdown snippet for 'smallcaps'"
},
"bold": {
"prefix": "bf",
"body": "**$1**$0",
"description": "Markdown snippet for 'bold'"
},
"italic": {
"prefix": "it",
"body": "*$1*$0",
"description": "Markdown snippet for 'italic'"
},
"monospace": {
"prefix": "ms",
"body": "`$1`$0",
"description": "Markdown snippet for 'monospace'"
}
}

17
snippets/python.json Normal file

@ -0,0 +1,17 @@
{
"Todo": {
"prefix": "todo",
"body": "# TODO: $0",
"description": "Python snippet 'Todo'"
},
"FixMe": {
"prefix": "fixme",
"body": "# FIXME: $0",
"description": "Python snippet 'FixMe'"
},
"Hack": {
"prefix": "hack",
"body": "# HACK: $0",
"description": "Python snippet 'Hack'"
}
}