Skip to content

Instantly share code, notes, and snippets.

@soh335
Created April 25, 2009 15:54
Show Gist options
  • Save soh335/101667 to your computer and use it in GitHub Desktop.
Save soh335/101667 to your computer and use it in GitHub Desktop.
"textobj-php
if exists('g:loaded_textobj_php')
finish
endif
call textobj#user#plugin('php', {
\ '-': {
\ '*pattern*' : ['<?php\|<?=\|<?', '?>\(/\)\@!'],
\ 'select-a': 'aP',
\ 'select-i': 'iP'
\ }
\})
let g:loaded_textobj_php = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment