nvterm
nvterm copied to clipboard
Send command without executing `<CR>`
Is there a way to paste the command into the terminal without executing it? For cases where you want the command pasted into the terminal but you'd like to edit it before executing.
nvterm hard-coded the "\n":
https://github.com/NvChad/nvterm/blob/29a70ef608a8cc5db3a5fc300d39a39d1a44a863/lua/nvterm/terminal.lua#L62
You can use a similar workaround as https://github.com/NvChad/nvterm/issues/29#issuecomment-1404439662 before the feature is added.