Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vim plugin: Text objects for entire buffer

NotificationsYou must be signed in to change notification settings

kana/vim-textobj-entire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

vim-textobj-entire is a Vim plugin to provide text objects (ae andie bydefault) to select the entire content of a buffer. Though these are trivialoperations (e.g.ggVG), text object versions are more handy, because you donot 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 toae, butie does not include leading and trailing emptylines.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 alsothe reference manual for more details.

About

Vim plugin: Text objects for entire buffer

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp