On 11/01/11 22:24, Sven Guckes wrote:
* eda wizard<[email protected]> [2011-11-02 04:17]:
function Scrub ()
:%s// /g
:%s/\s*$//g
endfunction
map :call Scrub ()
but it's not working,
the first substitution searches for *nothing*,
Just a little correction: it searches for whatever you searched
for last. (referenced in ":help g&" and more explicitly above
":help complex-repeat")
-tim
--
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