Hi Stefan,

I found this one a few weeks ago.
It does the job without sorting.

:g/^/kl \|if search('^'.escape(getline('.'),'\.*[]^$/').'$','bW')
\|'ld

Regards,
Rameo

-- 
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

Reply via email to