I haven't used Vim in a while and when I started using it again I noticed this line in $MYVIMRC
:nnoremap <f3> :%!awk '!a[$0]{a[$0]=1;print}'<bar>noh<cr>
I understand that it's mapping to the F3 key, but I can't figure out what the rest of the line does. Can anyone tell me?
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wednesday, March 18, 2015
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment