author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Sun, 11 Oct 2009 21:36:02 +0300 | |
changeset 212 | 5715a5193fd4 |
parent 206 | 80999c1fc49d |
child 213 | af6fdb4adbf3 |
--- a/emacs.rst Sun Oct 04 22:09:01 2009 +0300 +++ b/emacs.rst Sun Oct 11 21:36:02 2009 +0300 @@ -57,3 +57,13 @@ http://en.wikipedia.org/wiki/W3m http://emacs-w3m.namazu.org/ http://www.gnu.org/software/w3/ + +* Tricks. + +** Sort and uniquify lines. + +Select region, type C-u M-| sort -u RET. + +With transient-mark-mode and delete-selection-mode enabled: select region, +type M-| sort -u RET to replace selection with sorted and uniquified lines. +