Started rewriting my nixos config
This commit is contained in:
parent
f9f3b19299
commit
1b17dc6cf3
186 changed files with 135 additions and 7404 deletions
dotfiles/neovim/ftplugin
|
@ -1,32 +0,0 @@
|
|||
local A = require("my.abbreviations")
|
||||
|
||||
-- Use vt to test
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>vt",
|
||||
':VimuxRunCommand "clear && spago test"<CR>',
|
||||
{ desc = "[V]imtex run [t]ests", buffer = true }
|
||||
)
|
||||
|
||||
-- Use vb to build
|
||||
vim.keymap.set(
|
||||
"n",
|
||||
"<leader>vb",
|
||||
':VimuxRunCommand "clear && spago build"<CR>',
|
||||
{ desc = "[V]imtex [b]uild", buffer = true }
|
||||
)
|
||||
|
||||
vim.opt.expandtab = true -- Use spaces for the tab char
|
||||
|
||||
local abbreviations = {
|
||||
{ "land", "/\\" },
|
||||
{ "lor", "\\/" },
|
||||
{ "tto", "->" },
|
||||
{ "iip", "=>" },
|
||||
{ "frl", "forall" },
|
||||
{ "ott", "<-" }, -- opposite of tto
|
||||
}
|
||||
|
||||
A.manyLocalAbbr(abbreviations)
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue