iron.nvim icon indicating copy to clipboard operation
iron.nvim copied to clipboard

Forced change from normal mode to insert mode after sending code to repl

Open LukaK opened this issue 3 years ago • 4 comments

Is it possible to maintain mode after sending text to repl? For example after sending code from normal mode to repl I am moved automatically to insert mode.

LukaK avatar Jan 23 '22 03:01 LukaK

Hi,

In theory it should be possible, but I will have to double-check since the current way of handling all this is kind of messy... I'm currently trying to figure out a way of simplifying all the logic so hopefully it will be fixed soon.

hkupty avatar Jan 24 '22 14:01 hkupty

I've merged v3.0 now and I believe it might've solved some of the issues. Unfortunately, I'm "forced" to break away from visual mode so I can properly extract the values, but I think normal mode is now being kept. Please let me know if the issue is fixed in this new version.

hkupty avatar May 18 '22 13:05 hkupty

I've merged v3.0 now and I believe it might've solved some of the issues. Unfortunately, I'm "forced" to break away from visual mode so I can properly extract the values, but I think normal mode is now being kept. Please let me know if the issue is fixed in this new version.

For me, whenever I start or restart the REPL I end up in insert mode.

raffaem avatar Feb 07 '24 02:02 raffaem