Updated config
This commit is contained in:
parent
ead7d8c480
commit
047a4808cc
2 changed files with 11 additions and 2 deletions
|
@ -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]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue