A shit ton of stuff
This commit is contained in:
parent
7cbe73ad5b
commit
c01ce48abe
20 changed files with 338 additions and 288 deletions
dotfiles/neovim/ftplugin
12
dotfiles/neovim/ftplugin/nix.lua
Normal file
12
dotfiles/neovim/ftplugin/nix.lua
Normal 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")
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue