René Nyffenegger's collection of things on the web
René Nyffenegger on Oracle - Most wanted - Feedback -
 

Yanking a c function with VIM

fu! YankCFunction() 
   let l:line     = line(".")
   let l:act_line = l:line+1

   while l:act_line > line(".") 
     execute "normal [{"
     let l:act_line = line(".")
   endwhile

   execute "normal V%y"

   execute "normal " . l:line . "G"
endfu