1
Fork 0

Better telescope setup

This commit is contained in:
Matei Adriel 2022-09-25 22:03:11 +02:00
parent 8e89a53a31
commit 7ada064c93
9 changed files with 123 additions and 124 deletions
dotfiles/neovim/ftplugin

View file

@ -1,4 +1,5 @@
local arpeggio = require("my.plugins.arpeggio")
local A = require("my.abbreviations")
print("Initializing nix keybinds...")
@ -11,3 +12,14 @@ arpeggio.chordSilent("n", "vb", ":VimuxRunCommand \"clear && spago build\"<CR>",
{ settings = "b" })
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)