Vim Tips Wiki
No edit summary
(respond: either works)
 
(One intermediate revision by one other user not shown)
Line 24: Line 24:
   
 
----
 
----
this short cut is upside down.
+
this shortcut is upside down.
   
 
G=gg: auto (re)indent entire document
 
G=gg: auto (re)indent entire document
   
 
The correct one is gg=G
 
The correct one is gg=G
  +
  +
:The two do the same thing. Your suggestion is the usual way it's written but both work. --[[User:Fritzophrenic|Fritzophrenic]] ([[User talk:Fritzophrenic|talk]]) 17:45, August 28, 2014 (UTC)

Latest revision as of 17:45, 28 August 2014

can someone provide better comment for

g/^$/;,/^$/-1!sort  : sort each block (note the crucial ;)

DG12 01:10, December 6, 2009 (UTC)



What are we trying to say here regarding the definition of the A command

A  : Append at end of line (you can't navigate past the next to last character)


There is reference to several "modes". I thought there was command mode and insert mode ??

And command-line mode, Visual mode (with three sub-modes, linewise, characterwise, and blockwise), select mode, ex mode... :help vim-modes --Fritzophrenic 02:15, December 6, 2009 (UTC)

Is there a GOOD reason why this page is still in <PRE formatted mode. I'm all for tradition and all but, it prevents using many useful HTML features like differing fonts to distinguish commands from comments, and example strings from command text. DG12 13:13, December 6, 2009 (UTC)



this shortcut is upside down.

G=gg: auto (re)indent entire document

The correct one is gg=G
The two do the same thing. Your suggestion is the usual way it's written but both work. --Fritzophrenic (talk) 17:45, August 28, 2014 (UTC)