Skip to content

vim-utils/vim-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

line.vim

Vim "inner line" text object works on the text inside the line. Leading and trailing whitespace is ignored.

Text object

_ (underscore) - "inner line"

Examples

  • v_ visually selects all the text in a line, except the leading and trailing whitespace.

  • y_ yank "inner line".

  • d_ delete the whole line, but only "inner line" gets into the register.

Why?

It's shorter to type than ^vg_ + operator.

Installation

  • Vundle
    Plugin 'bruno-/vim-line'

  • Pathogen
    git clone git://github.com/bruno-/vim-line.git ~/.vim/bundle/vim-line

License

MIT

About

"inner line" vim text object

Resources

License

Stars

Watchers

Forks

Packages

No packages published