Difference between revisions of "Linux: vim"

From RHS Wiki
Jump to navigation Jump to search
(Created page with "'''Vim text editor''' {| class="wikitable" ! Command !! Description |- | i || Insert |- | :w || Write | :wq || Write & quit |- | :q! || Quit discarding changes |- | yy || Copy...")
 
Line 6: Line 6:
 
|-
 
|-
 
| :w || Write
 
| :w || Write
 +
|-
 
| :wq || Write & quit
 
| :wq || Write & quit
 
|-
 
|-

Revision as of 16:48, 8 April 2015

Vim text editor

Command Description
i Insert
:w Write
:wq Write & quit
:q! Quit discarding changes
yy Copy line
dd Cut line
p Paste