Updated config
This commit is contained in:
@ -23,8 +23,12 @@ vim.api.nvim_create_user_command("ToggleWord", function()
|
||||
["=="] = "!=",
|
||||
}
|
||||
|
||||
vim.tbl_add_reverse_lookup(inverse)
|
||||
for key, value in pairs(inverse) do
|
||||
inverse[value] = key
|
||||
end
|
||||
|
||||
vim.cmd("normal! yiw")
|
||||
|
||||
local yanked = vim.fn.getreg('"')
|
||||
local flipped = inverse[yanked]
|
||||
|
||||
|
Reference in New Issue
Block a user