sponsor Vim development Vim logo Vim Book Ad

textobj-syntax : Text objects for syntax highlighted items

 script karma  Rating 0/2, Downloaded by 1062  Comments, bugs, improvements  Vim wiki

created by
Kana Natsuno
 
script type
utility
 
description
*textobj-syntax* is a Vim plugin to provide |text-objects| to select one or
more items which are syntax highlighted.

For example, if you edit the following line in your vimrc, characters which
are underlined with "~" are syntax highlighted.

nnoremap <silent> ql  :<C-u>clist<Return>
~~~~~~~~ ~~~~~~~~      ~~~~~     ~~~~~~~~

So |<Plug>(textobj-syntax-a)| and |<Plug>(textobj-syntax-i)| (which are mapped
from  |ay| and |iy| by default) select one of the underlined items if the
cursor is located at the one of them.


Requirements:
- Vim 7.2 or later
- |textobj-user| 0.3.8 or later (vimscript#2100)

Latest version:
http://github.com/kana/vim-textobj-syntax

Document in HTML format:
http://kana.github.com/config/vim/textobj-syntax.html
 
install details
...
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-textobj-syntax-0.0.0.zip 0.0.0 2009-07-18 7.0 Kana Natsuno Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github