1
Fork 0

A lot of neovim config updates

This commit is contained in:
Matei Adriel 2022-10-09 03:28:51 +02:00
parent d3ab72c6c8
commit 98e8510ae7
21 changed files with 874 additions and 152 deletions
dotfiles/neovim/ftplugin

View file

@ -1,4 +1,5 @@
local A = require("my.abbreviations")
local AB = require("my.plugins.abolish")
require("my.helpers.wrapMovement").setup()
@ -21,6 +22,7 @@ local abbreviations = {
{ "beta", "\\beta" },
{ "theta", "\\theta" },
{ "gamma", "\\gamma" },
{ "lam", "\\lambda" },
{ "nuls", "\\varnothing" },
-- Exponents
@ -36,6 +38,7 @@ local abbreviations = {
{ "tmat", "^{T}" }, -- Tranpose of a matrix
{ "etp", "^{+}" },
-- Subscripts
{ "s0", "_{0}" },
{ "s1", "_{1}" },
@ -98,4 +101,11 @@ local abbreviations = {
{ "rref", "reduced row echalon form" }
}
local abolishAbbreviations = {
{ "egv{a,e}{,s}", "eigenv{alue,ector}{}" }
}
AB.abolishMany(abolishAbbreviations)
A.manyLocalAbbr(abbreviations)