durexforth icon indicating copy to clipboard operation
durexforth copied to clipboard

V should wrap long lines

Open burnsauce opened this issue 5 years ago • 2 comments

I'm not sure what the correct solution is, but I am increasingly feeling like V should handle long lines without issue, probably via soft wrapping.

The current idiom of manually wrapping files included on the disk and relying on all opened files to have been treated so (or simply created with a compliant V) limits V substantially.

Consider that the 34 characters that can be entered as an s" in V is 6 shy of a full line of text output. While some applications can factor this away, there may be a full line of literal text (or more) that you may want to enter, perhaps as a data string.

I understand that this will introduce the seemingly-confusing behaviour of navigating vertically not always being a line at a time, but this would be keeping with vim.

I think it would make coding a bit more fluid, as you don't have to look ahead to see if a word will fit. I know I've miscalculated that limit before. A soft wrap would be welcome here.

edit: sorry for the edit spam. Misdiagnosed an interpreter error momentarily.

burnsauce avatar Mar 19 '20 22:03 burnsauce

Agreed! This would be good to have!

On Thu, 19 Mar 2020 at 23:05, Poindexter Frink [email protected] wrote:

I'm not sure what the correct solution is, but I am increasingly feeling like V should handle long lines without issue, probably via soft wrapping.

The current idiom of manually wrapping files included on the disk and relying on all opened files to have been treated so (or simply created with a compliant V) limits V substantially.

Consider that the 34 characters that can be entered as an s" in V is 6 shy of a full line of text output. While some applications can factor this away, there may be a full line of literal text (or more) that you may want to enter, perhaps as a data string.

I understand that this will introduce the seemingly-confusing behaviour of navigating vertically not always being a line at a time, but this would be keeping with vim.

I think it would make coding a bit more fluid, as you don't have to look ahead to see if a word will fit. I know I've miscalculated that limit before. A soft wrap would be welcome here.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jkotlinski/durexforth/issues/245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAY34O44JHBIIJEDG75TJILRIKJL5ANCNFSM4LPW4UBQ .

jkotlinski avatar Mar 20 '20 15:03 jkotlinski