2022-11-14 01:16:10 +01:00
|
|
|
-- 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" })
|
2022-07-19 20:19:36 +02:00
|
|
|
|
|
|
|
-- Idk why this isn't here by default
|
2022-08-24 14:58:06 +02:00
|
|
|
vim.api.nvim_buf_set_option(0, "commentstring", "# %s")
|