diff --git a/keymap.json b/keymap.json index e18dbcc..abadee4 100644 --- a/keymap.json +++ b/keymap.json @@ -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", diff --git a/settings.json b/settings.json index e80061c..e35a7f1 100644 --- a/settings.json +++ b/settings.json @@ -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, diff --git a/snippets/jinja2.json b/snippets/jinja2.json index 09f9fb9..e4e0858 100644 --- a/snippets/jinja2.json +++ b/snippets/jinja2.json @@ -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'" diff --git a/snippets/markdown.json b/snippets/markdown.json new file mode 100644 index 0000000..2b7ff66 --- /dev/null +++ b/snippets/markdown.json @@ -0,0 +1,67 @@ +{ + "Comment": { + "prefix": "comment", + "body": "$0", + "description": "Markdown snippet for 'Comment'" + }, + "Todo": { + "prefix": "todo", + "body": "$0", + "description": "Markdown snippet for 'Todo'" + }, + "Div": { + "prefix": "div", + "body": "
\\n$3\\n
$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'" + } +} diff --git a/snippets/python.json b/snippets/python.json new file mode 100644 index 0000000..adbf6d1 --- /dev/null +++ b/snippets/python.json @@ -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'" + } +}