I like to use dressing with insert_only = false, but that doesn't work with inc-rename.nvim (see https://github.com/smjonas/inc-rename.nvim/issues/36). As a workaround, I tried using Ctrl+F to use the command line window in order to edit my command before executing it.
I found that that works with input_buffer_type = nil, but not with input_buffer_type = "dressing".
CmdlineLeave Autocommands for "*":
Vim(append):Error executing lua callback: .../share/nvim/lazy/inc-rename.nvim/lua/inc_rename/init.lua:139
Vim:E11: Invalid in command-line window; <CR> executes, CTRL-C quits^@stack traceback:^@^I[C]:
in function 'nvim_set_current_win'^@^I.../share/nvim/lazy/inc-rename.nvim/lua/inc_rename/init.lua:139:
in function <.../share/nvim/lazy/inc-rename.nvim/lua/inc_rename/init.lua:132>
I like to use
dressing
withinsert_only = false
, but that doesn't work withinc-rename.nvim
(see https://github.com/smjonas/inc-rename.nvim/issues/36). As a workaround, I tried usingCtrl+F
to use the command line window in order to edit my command before executing it.I found that that works with
input_buffer_type = nil
, but not withinput_buffer_type = "dressing"
.Behavior with
input_buffer_type = nil
https://github.com/smjonas/inc-rename.nvim/assets/16181067/7cda752a-a6ab-49d9-8034-a99a5066123b
Behavior with
input_buffer_type = "dressing"
IncRename <word>
command or I exited the command line window without executing the commandinc-rename.nvim
throws an error (pasted below) when exiting the command line window without running a commandhttps://github.com/smjonas/inc-rename.nvim/assets/16181067/5150d9c6-2b1d-437e-87c5-e02fdcfcf668