Rename Quit mode keymaps
AlgusDark opened this issue · comments
Carlos Pérez Gutiérrez commented
Is your feature request related to a problem? Please describe.
Hi, I would like to request a feature to have different quit mapping for rename when I'm in different modes. For example, I would love to quit the rename with "" or "q" only when I'm in normal mode; but I would like to be able to quit, when in other mode with "".
Describe the solution you'd like
Maybe a table on the config would be nice solution:
{
rename = {
in_select = false,
keys = {
quit = { -- if a string, then applies to {"n", "i", "x"}
{"n"} = "q",
{"i", "v"} = "<C-K>",
},
},
},
}
Carlos Pérez Gutiérrez commented
I was able to do this with autocommands, so it's not really neccesary.