Backup
This commit is contained in:
parent
7c61e64fa8
commit
01ee066c62
20 changed files with 182 additions and 657 deletions
dotfiles/neovim/ftplugin
|
@ -1,11 +1,9 @@
|
|||
local A = require("my.plugins.arpeggio")
|
||||
|
||||
print("Initializing nix keybinds...")
|
||||
|
||||
-- Use _ug_ to fetchgit stuff
|
||||
A.chordSilent("n", "ug",
|
||||
":lua require('my.helpers.update-nix-fetchgit').update()<CR>",
|
||||
{ settings = "b" })
|
||||
-- Use _<leader>lg_ to fetchgit stuff
|
||||
vim.keymap.set("n", "<leader>lg", function()
|
||||
require("my.helpers").saveCursor(function()
|
||||
vim.cmd(":%!update-nix-fetchgit")
|
||||
end)
|
||||
end, { buffer = true, desc = "Update all fetchgit calls" })
|
||||
|
||||
-- Idk why this isn't here by default
|
||||
vim.api.nvim_buf_set_option(0, "commentstring", "# %s")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue