Ken's Lotto Syndicate

Powerball Syndicate Home Page

Site Tools


vi_vim

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vi_vim [2025/05/19 00:17] – created kenvi_vim [2026/07/07 23:13] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +===== Adding a character to the end of every line, using vim =====
 +
 +<code>
 +:%norm A*
 +</code>
 +//
 +This is what it means:
 +//
 +<code>
 +       = for every line//
 + norm    = type the following commands//
 + A*      = append '*' to the end of current line//
 +</code>
 +//
 +
 ===== vi Complete Key Binding List ===== ===== vi Complete Key Binding List =====
  
-This is not intended as a tutorial. It is a reference on what every vi key binding does, followed by some useful vi tricks and tips. An expert will probably know most of these already, but an intermediate vi user will find valuable information, and even an expert may learn a thing or two. +This is not intended as a tutorial. It is a reference on what every vi key binding does, followed by some useful vi tricks and tips. An expert will probably know most of these already, but an intermediate vi user will find valuable information, and even an expert may learn a thing or two.\\ 
-complete key binding reference +==== complete key binding reference ==== 
-Key Action Followed by +Key Action Followed by\\ 
-a enter insertion mode after current character text, ESC +| enter insertion mode after current character | 
-b back word +**a** enter insertion mode after current character text, ESC 
-c change command cursor motion command +b back word\\ 
-d delete command cursor motion command +c change command cursor motion command\\ 
-e end of word +d delete command cursor motion command\\ 
-f find character after cursor in current line character to find +e end of word\\ 
-g UNBOUND +f find character after cursor in current line character to find\\ 
-h move left one character +g UNBOUND\\ 
-i enter insertion mode before current character text, ESC +h move left one character\\ 
-j move down one line +i enter insertion mode before current character text, ESC\\ 
-k move up one line +j move down one line\\ 
-l move right one character +k move up one line\\ 
-m mark current line and position mark character tag (a-z)+l move right one character\\ 
 +m mark current line and position mark character tag (a-z)\\
 n repeat last search n repeat last search
 o open line below and enter insertion mode text, ESC o open line below and enter insertion mode text, ESC
vi_vim.1747613832.txt.gz · Last modified: (external edit)