2023-01-10 02:38:06 +01:00
|
|
|
-- Use _<leader>lg_ to fetchgit stuff
|
|
|
|
vim.keymap.set("n", "<leader>lg", function()
|
2023-12-21 16:21:14 +01:00
|
|
|
require("my.tempest").withSavedCursor(function()
|
2023-01-10 02:38:06 +01:00
|
|
|
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")
|