bairui

toy multi-line double-quote text-object matcher

Oct 26th, 2011
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VIM 0.24 KB | None | 0 0
  1. " Barry Arthur, 26 Oct 2011
  2.  
  3. function! s:VAMDQ()
  4.   return "?\"\<CR>o/\"\<CR>"
  5. endfunction
  6.  
  7. vnoremap <expr> am" <SID>VAMDQ()
  8. onoremap am" :normal vam"<CR>
  9.  
  10. finish
  11.  
  12. this
  13. is a "test of
  14. the multi-line
  15. double quote" text-object
  16. matcher
  17.  
  18.  
Advertisement
Add Comment
Please, Sign In to add comment