added I to list of insert commands
This commit is contained in:
@@ -13,7 +13,7 @@ Keymap("n", "<leader>bd", function() -- delete buffer
|
|||||||
vim.cmd("echo 'Buffer deleted'")
|
vim.cmd("echo 'Buffer deleted'")
|
||||||
end)
|
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
|
-- Pass { expr = true } as the fourth argument
|
||||||
Keymap("n", bind, function()
|
Keymap("n", bind, function()
|
||||||
if vim.fn.getline("."):match("^%s*$") then
|
if vim.fn.getline("."):match("^%s*$") then
|
||||||
|
|||||||
Reference in New Issue
Block a user