Mercurial > vim
comparison runtime/doc/change.txt @ 5747:ddc3f32a4b21 v7.4.218
updated for version 7.4.218
Problem: It's not easy to remove duplicates from a list.
Solution: Add the uniq() function. (LCD)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 25 Mar 2014 18:24:23 +0100 |
parents | 80e5f9584b02 |
children | b8f703a4e55f |
comparison
equal
deleted
inserted
replaced
5746:798d83d15327 | 5747:ddc3f32a4b21 |
---|---|
1648 | 1648 |
1649 ============================================================================== | 1649 ============================================================================== |
1650 7. Sorting text *sorting* | 1650 7. Sorting text *sorting* |
1651 | 1651 |
1652 Vim has a sorting function and a sorting command. The sorting function can be | 1652 Vim has a sorting function and a sorting command. The sorting function can be |
1653 found here: |sort()|. | 1653 found here: |sort()|, |uniq()|. |
1654 | 1654 |
1655 *:sor* *:sort* | 1655 *:sor* *:sort* |
1656 :[range]sor[t][!] [i][u][r][n][x][o] [/{pattern}/] | 1656 :[range]sor[t][!] [i][u][r][n][x][o] [/{pattern}/] |
1657 Sort lines in [range]. When no range is given all | 1657 Sort lines in [range]. When no range is given all |
1658 lines are sorted. | 1658 lines are sorted. |