Thank you very much. Would it be also possible to search first and then copy the text to clipboard? This avoids to insert the whole line s/whatever/\=Appclip(submatch(0))/ g in command
-------- another question, do you know how to use the same function for two different things p.e. function! search() exe "%s/whatever/\=Appclip(submatch(0))/g" endfunction function! search() exe "'<,'>s/whatever/\=Appclip(submatch(0))/g" endfunction Can I give value to the function to tell that the "%" has to be "'<,'>"? -- 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
