Vim plugin: Text objects for entire buffer
Vim script Ruby
Switch branches/tags
Latest commit 41c12e1 Feb 28, 2014 @kana kana Merge branch 'add-readme'
Permalink
Failed to load latest commit information.
doc Revise the document to include more hints Feb 28, 2014
plugin/textobj Bump up version to 0.0.3 Feb 26, 2014
t Add tests on the jumplist Feb 26, 2014
.gitignore
.travis.yml Add a configuration file for Travis CI Feb 26, 2014
Gemfile Add Gemfile for development dependencies Feb 26, 2014
README.md Add README Feb 28, 2014
Rakefile
VimFlavor Declare dependencies Jan 18, 2013

README.md

vim-textobj-entire - Text objects for entire buffers

Build Status

vim-textobj-entire is a Vim plugin to provide text objects (ae and ie by default) to select the entire content of a buffer. Though these are trivial operations (e.g. ggVG), text object versions are more handy, because you do not have to be conscious of the cursor position (e.g. vae).

vim-textobj-entire provides two text objects:

  • ae targets the entire content of the current buffer.
  • ie is similar to ae, but ie does not include leading and trailing empty lines. ie is handy for some situations. For example,
    1. Paste some text into a new buffer (<C-w>n"*P) -- note that the initial empty line is left as the last line.
    2. Edit the text (:%s/foo/bar/g etc)
    3. Then copy the resulting text to another application ("*yie)

See also the reference manual for more details.