diff --git a/lua/configs/autocomplete.lua b/lua/configs/autocomplete.lua index 34c1751..f36f531 100644 --- a/lua/configs/autocomplete.lua +++ b/lua/configs/autocomplete.lua @@ -83,6 +83,7 @@ function M.config() }) require("luasnip.loaders.from_snipmate").lazy_load({paths = "~/.config/nvim/snippets/"}) + luasnip.filetype_extend("all", { "_" }) --- Set up LspSaga. require("lspsaga").setup { diff --git a/lua/core/keymaps.lua b/lua/core/keymaps.lua index 2878e4e..4158400 100644 --- a/lua/core/keymaps.lua +++ b/lua/core/keymaps.lua @@ -18,13 +18,14 @@ vim.api.nvim_create_autocmd("FileType", { end, }) vim.keymap.set("i", "", "") -vim.keymap.set("i", "", "") -vim.keymap.set("i", "", "") -vim.keymap.set("i", "", "") -vim.keymap.set("i", "", "") +-- vim.keymap.set("i", "", "") +-- vim.keymap.set("i", "", "") +-- vim.keymap.set("i", "", "") +-- vim.keymap.set("i", "", "") vim.keymap.set("n", "vl", set_bg_light) vim.keymap.set("n", "vd", set_bg_dark) vim.keymap.set("n", "", ":") +vim.keymap.set("n", "", "f") local ls = require("luasnip") vim.keymap.set({"i"}, "", function() ls.expand() end, {silent = true}) diff --git a/snippets/_.snippets b/snippets/_.snippets new file mode 100644 index 0000000..adbcba6 --- /dev/null +++ b/snippets/_.snippets @@ -0,0 +1,215 @@ +# Parens +snippet ( + ($1) +snippet [ + [$1] +snippet { + {$1} + +# Blackboard bold big +snippet ba + 𝔸 +snippet bb + 𝔹 +snippet bc + β„‚ +snippet bd + 𝔻 +snippet be + 𝔼 +snippet bf + 𝔽 +snippet bg + 𝔾 +snippet bh + ℍ +snippet bi + 𝕀 +snippet bj + 𝕁 +snippet bk + 𝕂 +snippet bl + 𝕃 +snippet bm + 𝕄 +snippet bn + β„• +snippet bo + 𝕆 +snippet bp + β„™ +snippet bq + β„š +snippet br + ℝ +snippet bs + π•Š +snippet bt + 𝕋 +snippet bu + π•Œ +snippet bv + 𝕍 +snippet bw + π•Ž +snippet bx + 𝕏 +snippet by + 𝕐 +snippet bz + β„€ + +# Blackboard bold small +snippet bA + 𝕒 +snippet bB + 𝕓 +snippet bC + 𝕔 +snippet bD + 𝕕 +snippet bE + 𝕖 +snippet bF + 𝕗 +snippet bG + π•˜ +snippet bH + 𝕙 +snippet bI + π•š +snippet bJ + 𝕛 +snippet bK + π•œ +snippet bL + 𝕝 +snippet bM + π•ž +snippet bN + π•Ÿ +snippet bO + 𝕠 +snippet bP + 𝕑 +snippet bQ + 𝕒 +snippet bR + 𝕣 +snippet bS + 𝕀 +snippet bT + π•₯ +snippet bU + 𝕦 +snippet bV + 𝕧 +snippet bW + 𝕨 +snippet bX + 𝕩 +snippet bY + π•ͺ +snippet bZ + 𝕫 + +# Greek letter small +snippet ga + Ξ± +snippet gb + Ξ² +snippet gg + Ξ³ +snippet gd + Ξ΄ +snippet ge + Ξ΅ +snippet gz + ΞΆ +snippet ge' + Ξ· +snippet gth + ΞΈ +snippet gi + ΞΉ +snippet gk + ΞΊ +snippet gl + Ξ» +snippet gm + ΞΌ +snippet gu + Ξ½ +snippet gx + ΞΎ +snippet go + ΞΏ +snippet gp + Ο€ +snippet gr + ρ +snippet gs + Οƒ +snippet gt + Ο„ +snippet gy + Ο… +snippet gf + Ο† +snippet gc + Ο‡ +snippet gps + ψ +snippet go' + Ο‰ + +# Greek letter big +snippet gA + Ξ‘ +snippet gB + Ξ’ +snippet gG + Ξ“ +snippet gD + Ξ” +snippet gE + Ξ• +snippet gZ + Ξ– +snippet gE' + Ξ— +snippet gTH + Θ +snippet gI + Ξ™ +snippet gK + Κ +snippet gL + Ξ› +snippet gM + Μ +snippet gU + Ν +snippet gX + Ξ +snippet gO + Ο +snippet gP + Ξ  +snippet gR + Ξ‘ +snippet gS + Ξ£ +snippet gT + Ξ€ +snippet gY + Ξ₯ +snippet gF + Ξ¦ +snippet gC + Ξ§ +snippet gPS + Ξ¨ +snippet gO' + Ξ© diff --git a/snippets/agda.snippets b/snippets/agda.snippets index 712a891..b017752 100644 --- a/snippets/agda.snippets +++ b/snippets/agda.snippets @@ -42,211 +42,3 @@ snippet top snippet bot βŠ₯ -# Blackboard bold big -snippet ba - 𝔸 -snippet bb - 𝔹 -snippet bc - β„‚ -snippet bd - 𝔻 -snippet be - 𝔼 -snippet bf - 𝔽 -snippet bg - 𝔾 -snippet bh - ℍ -snippet bi - 𝕀 -snippet bj - 𝕁 -snippet bk - 𝕂 -snippet bl - 𝕃 -snippet bm - 𝕄 -snippet bn - β„• -snippet bo - 𝕆 -snippet bp - β„™ -snippet bq - β„š -snippet br - ℝ -snippet bs - π•Š -snippet bt - 𝕋 -snippet bu - π•Œ -snippet bv - 𝕍 -snippet bw - π•Ž -snippet bx - 𝕏 -snippet by - 𝕐 -snippet bz - β„€ - -# Blackboard bold small -snippet bA - 𝕒 -snippet bB - 𝕓 -snippet bC - 𝕔 -snippet bD - 𝕕 -snippet bE - 𝕖 -snippet bF - 𝕗 -snippet bG - π•˜ -snippet bH - 𝕙 -snippet bI - π•š -snippet bJ - 𝕛 -snippet bK - π•œ -snippet bL - 𝕝 -snippet bM - π•ž -snippet bN - π•Ÿ -snippet bO - 𝕠 -snippet bP - 𝕑 -snippet bQ - 𝕒 -snippet bR - 𝕣 -snippet bS - 𝕀 -snippet bT - π•₯ -snippet bU - 𝕦 -snippet bV - 𝕧 -snippet bW - 𝕨 -snippet bX - 𝕩 -snippet bY - π•ͺ -snippet bZ - 𝕫 - -# Greek letter small -snippet ga - Ξ± -snippet gb - Ξ² -snippet gg - Ξ³ -snippet gd - Ξ΄ -snippet ge - Ξ΅ -snippet gz - ΞΆ -snippet ge' - Ξ· -snippet gth - ΞΈ -snippet gi - ΞΉ -snippet gk - ΞΊ -snippet gl - Ξ» -snippet gm - ΞΌ -snippet gu - Ξ½ -snippet gx - ΞΎ -snippet go - ΞΏ -snippet gp - Ο€ -snippet gr - ρ -snippet gs - Οƒ -snippet gt - Ο„ -snippet gy - Ο… -snippet gf - Ο† -snippet gc - Ο‡ -snippet gps - ψ -snippet go' - Ο‰ - -# Greek letter big -snippet gA - Ξ‘ -snippet gB - Ξ’ -snippet gG - Ξ“ -snippet gD - Ξ” -snippet gE - Ξ• -snippet gZ - Ξ– -snippet gE' - Ξ— -snippet gTH - Θ -snippet gI - Ξ™ -snippet gK - Κ -snippet gL - Ξ› -snippet gM - Μ -snippet gU - Ν -snippet gX - Ξ -snippet gO - Ο -snippet gP - Ξ  -snippet gR - Ξ‘ -snippet gS - Ξ£ -snippet gT - Ξ€ -snippet gY - Ξ₯ -snippet gF - Ξ¦ -snippet gC - Ξ§ -snippet gPS - Ξ¨ -snippet gO' - Ξ© -