RemoveDups.VIM : Removing duplicates
script karma |
Rating 13/15,
Downloaded by 890 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Michael Fitz |
|
script type |
utility |
|
description |
After sorting a file (eg. with the very useful vissort.vim) you can mark an area (line- or blockwise) an remove any lines containing duplicate values within this mark, so making anything in the marked area uinique.
Ths most common use is:
mark a block
:Sort it
Remark the same block using gv
:call RemoveDups() |
|
install details |
copy it into plugins
If you like you can add a command invoking it; I haven't done yet. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.141.40.242
|