Wikia

Vim Tips Wiki

Changes: Use "set report=0" to always display "lines Xed" on message line

Edit

Back to page

(Created page with "If you want Vim to always display the count of lines yanked or deleted on the message line -- like "1 line yanked" or "1 line deleted" -- you need to use the report option lik...")
 
(Insert TipProposed template + manual clean)
 
Line 1: Line 1:
If you want Vim to always display the count of lines yanked or deleted on the message line -- like "1 line yanked" or "1 line deleted" -- you need to use the report option like:
+
{{TipProposed
<code>
+
|id=0
set report=0
+
|previous=0
</code>
+
|next=0
Note that the Vim documentation for '''report''' does NOT currently mention where these reports are actually placed, making it impossible to just grep(1) for it.
+
|created=October 22, 2013
  +
|complexity=basic
  +
|author=Markleightonfisher
  +
|version=7.0
  +
|subpage=/2013
  +
|category1=
  +
|category2=
  +
}}
  +
If you want Vim to always display the count of lines yanked or deleted on the message line—like "1 line yanked" or "1 line deleted"—you need to use the report option like:
  +
<pre>
  +
:set report=0
  +
</pre>
  +
  +
==Comments==

Latest revision as of 10:41, January 31, 2014

Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).

Please use new tips to discuss whether this page should be a permanent tip, or whether it should be merged to an existing tip.
created October 22, 2013 · complexity basic · author Markleightonfisher · version 7.0

If you want Vim to always display the count of lines yanked or deleted on the message line—like "1 line yanked" or "1 line deleted"—you need to use the report option like:

:set report=0

CommentsEdit

Around Wikia's network

Random Wiki