1
Fork 0

A shit ton of stuff

This commit is contained in:
Matei Adriel 2022-07-19 21:19:36 +03:00
parent 7cbe73ad5b
commit c01ce48abe
20 changed files with 338 additions and 288 deletions
dotfiles/neovim/ftplugin

View file

@ -0,0 +1,12 @@
local A = require("my.plugins.arpeggio")
local C = require("my.plugins.comment")
print("Initializing nix keybinds...")
-- Use _ug_ to fetchgit stuff
A.chordSilent("n", "ug",
":lua require('my.helpers.update-nix-fetchgit').update()<CR>",
{ settings = "b" })
-- Idk why this isn't here by default
C.setCommentString("nix", "# %s")

View file

@ -1,11 +1,13 @@
local arpeggio = require("my.plugins.arpeggio")
print("Initializing nix keybinds...")
-- Use vt to test
arpeggio.chordSilent("n", "vt", ":VimuxRunCommand \"clear && spago test\"<CR>",
{settings = "b"})
{ settings = "b" })
-- Use vb to build
arpeggio.chordSilent("n", "vb", ":VimuxRunCommand \"clear && spago build\"<CR>",
{settings = "b"})
{ settings = "b" })
vim.opt.expandtab = true -- Use spaces for the tab char