Updated config

This commit is contained in:
Eduard Urbach 2025-02-02 11:05:39 +01:00
parent dc1cdda40e
commit 160e362c1d
Signed by: eduard
GPG key ID: 49226B848C78F6C8
12 changed files with 58 additions and 47 deletions

View file

@ -1,7 +1,9 @@
-- ToggleWord
vim.api.nvim_create_user_command("ToggleWord", function()
local inverse = {
["bottom"] = "top",
["horizontal"] = "vertical",
["left"] = "right",
["on"] = "off",
["true"] = "false",
["True"] = "False",
@ -31,4 +33,4 @@ vim.api.nvim_create_user_command("ToggleWord", function()
end
vim.cmd("normal! ciw" .. flipped)
end, {})
end, {})