Skip to content

This package is a port of vim-textobj-syntax for emacs. It provides evil text objects for consecutive items with same syntax highlight.

License

Notifications You must be signed in to change notification settings

laishulu/evil-textobj-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

https://melpa.org/packages/evil-textobj-syntax-badge.svg

About

This package is a port of vim-textobj-syntax. It provides evil text objects for consecutive items with same syntax highlight.

For outer (a) object, if both leading and trailing white spaces exist, only trailing whitespaces are included.

./screenshots/a-leading-trailing.png

Otherwise, leading/trailing/none white spaces are included.

./screenshots/a-leading.png

./screenshots/a-trailing.png

For inner object, no leading and trailing white spaces are included.

./screenshots/i.png

Customize variable

h (standing for “syntax (h)ighlight”) is used as textobj key by default. You can customize it using the following variables.

evil-textobj-syntax-i-key (Default: “h”)

Keys for evil-i-syntax.

evil-textobj-syntax-a-key (Default: “h”)

Keys for evil-a-syntax

About

This package is a port of vim-textobj-syntax for emacs. It provides evil text objects for consecutive items with same syntax highlight.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •