Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 24th, 2011  |  syntax: VIM  |  size: 0.22 KB  |  views: 96  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. " Вариант 1
  2. :vmap <S-F3> <Esc>mc'<O/*<Esc>'>o*/<Esc>'c
  3. :nmap <S-F3> <Esc>?/\<CR>dd/\\/<CR>dd :nohls<CR>
  4.  
  5. " Вариант 2
  6. :vmap <S-F3> <Esc>ma'<^i/*<Esc>'>$a*/<Esc>
  7. :nmap <S-F3> <Esc>?/\*<CR>dd/\*\/<CR>dd :nohls
  8.  
clone this paste RAW Paste Data