Idiomatic vim text objects that work on the whole buffer.
a<Enter>all lines in the bufferi<Enter>inside lines - all lines, except leading and trailing empty lines
a<Enter>
ya<Enter>yank all lines in the bufferda<Enter>delete the whole buffer
i<Enter>
vi<Enter>visually select all non empty linesyi<Enter>yank all non empty lines
Instead of using this plugin you can type ggVG + operator to get similar
behavior.
This plugin brings you:
- "vim idiomatic" mappings
- less keystrokes to type
- speed
-
Vundle
Plugin 'bruno-/vim-all' -
Pathogen
git clone git://github.com/bruno-/vim-all.git ~/.vim/bundle/vim-all
vim-textobj-entire seems to do the same thing, but has different mappings.