I don't understand what shall I set (I guess fo
, but how?) for cutting lines that are longer than textwidth
but without joining lines that are shorter.
For example, assume that I have textwidth
option set to 78 and I have the following text:
This text is just an example to show what I want to achieve.
However, I am failing in that and therefore I am asking for help.
Let's add a random enumerated list to make the example more complete.
1. frog
2. cow
3. donkey
And let me add another line, just to make something more complete.
Now, let me add a very long line that it is not formatted at all and I want to cut it happened to be way too long
Hello,
My name
Is John Nash
If I type gggqG
, I have the following:
This text is just an example to show what I want to achieve.
However, I am failing in that and therefore I am asking for help. Let's add a
random enumerated list to make the example more complete.
1. frog 2. cow 3. donkey
And let me add another line, just to make something more complete. Now, let
me add a very long line that it is not formatted at all and I want to cut it
happened to be way too long
hello My name Is John Nash
but what I want instead is the following:
This text is just an example to show what I want to achieve.
However, I am failing in that and therefore I am asking for help.
Let's add a random enumerated list to make the example more complete.
1. frog
2. cow
3. donkey
And let me add another line, just to make something more complete. Now, let
me add a very long line that it is not formatted at all and I want to cut it
happened to be way too long
Hello,
My name
Is John Nash
Namely, I want that longer lines than textwidth
are cut, but shorter lines are left untouched.
set fo=tc