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

bug: no wrapping for very long commands

Open Robitx opened this issue 1 year ago • 1 comments

Describe the bug

Passing instructions to LLMs can lead to long commands. When the command length overflows the nvim width the command popup doesn't behave very well.

Steps To Reproduce

Write a very long command such as

:755,884GpRewrite @agent CodeClaude-3-5-Sonnet @with_current_buf please reproduce also the push_copy (using ActionCopy from handle_actions.go), for use of actions look into sweeper.go @with_file` modules/sweeper/sweeper.go ` @with_file` queuemailer/handle_actions.go `

yada yada yada until you get into state, where the end doesn't fit the width of nvim instance.

image

Expected Behavior

wrapping to next line

Robitx avatar Oct 15 '24 23:10 Robitx

related https://github.com/folke/noice.nvim/issues/956

Robitx avatar Oct 16 '24 21:10 Robitx

Having the same issue here. Would love the wrapping feature.

When pasting long lines of text/command, the cursor gets “lost”, can’t see the cursor position and editing text/command cannot be seen. Similar to #959

mau-mauricelim avatar Nov 04 '24 09:11 mau-mauricelim

Same issue here for simple things like creating new files with nvim-tree and the path is too long, the cmd_popup doesn't follow the cursor! Would love it did or allow for text-warping! :D image

VaanNG avatar Nov 08 '24 02:11 VaanNG

Same experience here with nvim-tree, in addition, noice seems to be also the reason that nvim-tree's window picker is broken.

duguyue100 avatar Nov 15 '24 09:11 duguyue100

I have the same problem when use netrw. image

Fatpandac avatar Dec 14 '24 03:12 Fatpandac

I would suggest transforming this into a feature request since the popup doesn't behave weird after c49a4b0, so the bug:

When the command length overflows the nvim width the command popup doesn't behave very well.

seems to be resolved, but the expected behavior:

wrapping to next line

is just another feature that's not implemented now, so I think it would make sense transforming into a feature request because there is no bug anymore.

nwehg avatar Dec 14 '24 15:12 nwehg

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Jan 14 '25 02:01 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Jan 21 '25 02:01 github-actions[bot]