I know it is very easy to do sorting operations in vim via the build command sort
. But how to sort only one line and the text within that line horizontally?
eg. from this point (aaa ccc bbb)
to this(aaa bbb ccc)
I tried vi(:sort
but it didn't work for me. Any suggestions?
source
to share