improved-ft.nvim icon indicating copy to clipboard operation
improved-ft.nvim copied to clipboard

Breaking changes! Custom maps don't work!

Open backdround opened this issue 1 year ago • 0 comments

Now all mappings should be perform with expr = true option. Example:

local map = function(key, fn, description)
  vim.keymap.set({ "n", "x", "o" }, key, fn, {
    desc = description,
    expr = true,                    -- BREAKING CHANGES HERE!
  })
end

map("f", ft.hop_forward_to_char, "Hop forward to a given char")

There were some bugs in performing macros that were impossible to fix without the breaking changes.

Thanks for understanding!

backdround avatar Jan 16 '24 23:01 backdround