nvterm icon indicating copy to clipboard operation
nvterm copied to clipboard

Send command without executing `<CR>`

Open thenbe opened this issue 3 years ago • 1 comments

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.

thenbe avatar Nov 28 '22 08:11 thenbe

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.

AllanChain avatar Jan 26 '23 01:01 AllanChain