Vim Sort and Remove Duplicates
Today while rearranging a Ruby word array, I discovered this Vim command:
:sort u
This will sort all lines, or a given range, while also removing any duplicate lines.
TweetToday while rearranging a Ruby word array, I discovered this Vim command:
:sort u
This will sort all lines, or a given range, while also removing any duplicate lines.
Tweet