added I to list of insert commands

This commit is contained in:
2026-08-16 09:42:20 +01:00
parent dc386a5f5c
commit 5cab6466dd

View File

@@ -13,7 +13,7 @@ Keymap("n", "<leader>bd", function() -- delete buffer
vim.cmd("echo 'Buffer deleted'")
end)
for _, bind in ipairs({ "i", "a", "A" }) do
for _, bind in ipairs({ "i", "a", "A", "I" }) do
-- Pass { expr = true } as the fourth argument
Keymap("n", bind, function()
if vim.fn.getline("."):match("^%s*$") then