<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>http://www.rz-amper.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Vi_Referenz</id>
	<title>Vi Referenz - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="http://www.rz-amper.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Vi_Referenz"/>
	<link rel="alternate" type="text/html" href="http://www.rz-amper.de/wiki/index.php?title=Vi_Referenz&amp;action=history"/>
	<updated>2026-04-19T21:43:28Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in RZ-Amper Wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://www.rz-amper.de/wiki/index.php?title=Vi_Referenz&amp;diff=23&amp;oldid=prev</id>
		<title>WikiSysop: Die Seite wurde neu angelegt: „... means that something needs to be specified before or after the command, as appropriate. This is normally a cursor movement keys (h,j,k,l,w,b, etc.) or a li…“</title>
		<link rel="alternate" type="text/html" href="http://www.rz-amper.de/wiki/index.php?title=Vi_Referenz&amp;diff=23&amp;oldid=prev"/>
		<updated>2020-06-10T21:17:03Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „... means that something needs to be specified before or after the command, as appropriate. This is normally a cursor movement keys (h,j,k,l,w,b, etc.) or a li…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;... means that something needs to be specified before or after the command, as appropriate. This is normally a cursor movement keys (h,j,k,l,w,b, etc.) or a line number.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  #  (where # is a number) following command n times...  &lt;br /&gt;
  :  go to ex-mode &lt;br /&gt;
  )  next sentence &lt;br /&gt;
  (  previous sentence &lt;br /&gt;
  }  next paragraph &lt;br /&gt;
  {  previous paragraph &lt;br /&gt;
 ]]  next section &lt;br /&gt;
 [[  previous section&lt;br /&gt;
  0  beginning of line &lt;br /&gt;
  $  end of line &lt;br /&gt;
  ^  first non-whitespace character&lt;br /&gt;
  +  first character of next line &lt;br /&gt;
  -  first character of previous line &lt;br /&gt;
(spacebar) next character &lt;br /&gt;
(return) next line &lt;br /&gt;
  /  search forward &lt;br /&gt;
  ? search backward &lt;br /&gt;
  %  find match of current parenthesis, brace, or bracket &lt;br /&gt;
  ,  reverse direction of last f, F, t, or T &lt;br /&gt;
  ;  repeat last f, F, t, or T&lt;br /&gt;
  .  repeat last command&lt;br /&gt;
  `  goto mark &lt;br /&gt;
  '  goto beginning of line with mark &lt;br /&gt;
 ``  return to previous mark or location before a search &lt;br /&gt;
 ''  go to start of line of previous mark or location before search&lt;br /&gt;
  ~  switch case of current character &lt;br /&gt;
  &amp;quot;  store in register &lt;br /&gt;
 !!  repeat last shell command&lt;br /&gt;
  !  send next to command, replace output (eg  !}fmt passes the current&lt;br /&gt;
       paragraph to the command fmt, and replaces the output with&lt;br /&gt;
       whatever fmt returns.) &lt;br /&gt;
 &amp;gt;&amp;gt;  shift paragraph one shiftwidth to the right &lt;br /&gt;
 &amp;lt;&amp;lt;  shift paragraph one shiftwidth to the left &lt;br /&gt;
 &amp;gt;%  shift until matching (, [, or { to the right &lt;br /&gt;
 &amp;lt;%  shift until matching (, [, or { to the left&lt;br /&gt;
  a  append after the current location &lt;br /&gt;
  A  append at the end of the line&lt;br /&gt;
 ^a  unused&lt;br /&gt;
  b  beginning of previous word &lt;br /&gt;
  B  beginning of previous word, ignore punctuation &lt;br /&gt;
 ^b  scroll back one screen&lt;br /&gt;
  c  change until...  &lt;br /&gt;
  C  change to end of line &lt;br /&gt;
 ^c  ends insert mode, unused in command mode&lt;br /&gt;
  d  delete until...  &lt;br /&gt;
  D  delete to end of line &lt;br /&gt;
 ^d  scroll down half a window, moves to previous shiftwidth in insert&lt;br /&gt;
       mode&lt;br /&gt;
  e  end of word &lt;br /&gt;
  E  end of word, ignore punctuation &lt;br /&gt;
 ^e  scroll screen down one line&lt;br /&gt;
  f  find...  &lt;br /&gt;
  F  find backward...  &lt;br /&gt;
 ^f  scroll forward one screen&lt;br /&gt;
  g  unused &lt;br /&gt;
  G  ...Goto  [defaults to end of file] &lt;br /&gt;
 ^g  show status line&lt;br /&gt;
  h  left &lt;br /&gt;
  H  first line on screen &lt;br /&gt;
 ^h  backspace in insert mode, left in command mode&lt;br /&gt;
  i  insert before current location &lt;br /&gt;
  I  insert before first non-whitespace character on line &lt;br /&gt;
 ^i  tab in insert, unused in command&lt;br /&gt;
  j  down &lt;br /&gt;
  J  join next line with current line &lt;br /&gt;
 ^j  down in command, create newline in insert&lt;br /&gt;
  k  up &lt;br /&gt;
  K  unused &lt;br /&gt;
 ^k  unused&lt;br /&gt;
  l  right &lt;br /&gt;
  L  last line on screen &lt;br /&gt;
 ^l  redraw screen&lt;br /&gt;
  m  mark position into register &lt;br /&gt;
  M  middle of screen &lt;br /&gt;
 ^m  carriage return&lt;br /&gt;
  n  repeat last search &lt;br /&gt;
  N  repeat last search, reverse direction &lt;br /&gt;
 ^n down in command&lt;br /&gt;
  o  open line below current &lt;br /&gt;
  O  open line above current &lt;br /&gt;
 ^o  unused&lt;br /&gt;
  p  put below current line &lt;br /&gt;
  P  put above current line &lt;br /&gt;
 ^p  up in command&lt;br /&gt;
  q  unused &lt;br /&gt;
  Q  quit and run ex &lt;br /&gt;
 ^q  unused&lt;br /&gt;
  r  replace current character &lt;br /&gt;
  R  replace characters until insert mode is left &lt;br /&gt;
 ^r  redraw screen in command mode&lt;br /&gt;
  s  substitute &lt;br /&gt;
  S  substitute entire line &lt;br /&gt;
 ^s  unused&lt;br /&gt;
  t  to...  &lt;br /&gt;
  T  backward to...  &lt;br /&gt;
 ^t  moves to next shiftwidth.&lt;br /&gt;
  u  undo last change &lt;br /&gt;
  U  undo changes to current line &lt;br /&gt;
 ^u  scroll up half a window&lt;br /&gt;
  v  unused &lt;br /&gt;
  V  unused &lt;br /&gt;
 ^v  unused&lt;br /&gt;
  w  beginning of next word &lt;br /&gt;
  W  beginning of next word, ignore punctuation &lt;br /&gt;
 ^w  unused in command, in insert move back to beginning of previous&lt;br /&gt;
       word&lt;br /&gt;
  x  delete current character &lt;br /&gt;
  X  delete previous character &lt;br /&gt;
 ^x  unused&lt;br /&gt;
  y  yank...  &lt;br /&gt;
  Y  yank current line &lt;br /&gt;
 ^y  scroll screen up one line&lt;br /&gt;
  z  reposition screen around line (Return to top of screen, . to &lt;br /&gt;
       middle, - to bottom) &lt;br /&gt;
 ZZ  write and quit &lt;br /&gt;
 ^z  unused&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==6.1 - Command mode input options ( : commands)==&lt;br /&gt;
&lt;br /&gt;
(Note: this is not a canonical list, just some of the more important&lt;br /&gt;
ones.)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 :r &amp;amp;lt;file&amp;amp;gt;   	read &amp;amp;lt;file&amp;amp;gt; into current text &lt;br /&gt;
 :r !&amp;amp;lt;command&amp;amp;gt;   	read output from command &amp;amp;lt;command&amp;amp;gt; into current text &lt;br /&gt;
 :nr &amp;amp;lt;file&amp;amp;gt;	   	read in at line number &lt;br /&gt;
 :!&amp;amp;lt;file&amp;amp;gt;	        run command, return &lt;br /&gt;
 :sh           		goto shell &lt;br /&gt;
 :so &amp;amp;lt;file&amp;amp;gt;     	read and execute commands from &amp;amp;lt;file&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
 :x              	write and quit &lt;br /&gt;
 :wq             	write and quit &lt;br /&gt;
 :l1,l2w &amp;amp;lt;file&amp;amp;gt;	write between lines l1 and l2 to &amp;amp;lt;file&amp;amp;gt;.  If &amp;amp;lt;file&amp;amp;gt; &lt;br /&gt;
                   is not specified, assume current.  If l1,l2 not &lt;br /&gt;
                   specified, assume entire file (making it :w)&lt;br /&gt;
 :w &amp;amp;gt;&amp;amp;g;t &amp;amp;lt;file&amp;amp;gt;	append to &amp;amp;lt;file&amp;amp;gt;.  May use line numbers&lt;br /&gt;
 :w!             	overwrite current file &lt;br /&gt;
 :q              	quit&lt;br /&gt;
 :q!             	quit, forget changes &lt;br /&gt;
 :e &amp;amp;lt;file&amp;amp;gt;		edit &amp;amp;lt;file&amp;amp;gt; without leaving vi &lt;br /&gt;
 :e!             	forget changes since last write&lt;br /&gt;
 :n              	edit next file &lt;br /&gt;
 :e +n &amp;amp;lt;file&amp;amp;gt;	edit &amp;amp;lt;file&amp;amp;gt; at line n, if no end, assume end of file &lt;br /&gt;
 :n &amp;amp;lt;files&amp;amp;gt;		specify &amp;amp;lt;files&amp;amp;gt; as new list of files to edit &lt;br /&gt;
 :e#             	edit alternate file (if :e &amp;amp;lt;file&amp;amp;gt; is used, alternate is&lt;br /&gt;
		   the original file)&lt;br /&gt;
 :args           	show files to be edited &lt;br /&gt;
 :rew            	rewind life of files to top &lt;br /&gt;
 :map m n        	create a macro (make m do n) &lt;br /&gt;
 :map! m n       	create an insert mode macro (make m do n) &lt;br /&gt;
 :unmap m        	destroy macro m &lt;br /&gt;
 :unmap! m       	destroy insert mode macro m &lt;br /&gt;
 :ab &amp;amp;lt;1&amp;amp;gt; &amp;amp;lt;2&amp;amp;gt;    abbreviate - replace &amp;amp;lt;1&amp;amp;gt; with &amp;amp;lt;2&amp;amp;gt; whenever typed as &lt;br /&gt;
                   a word&lt;br /&gt;
 :unab &amp;amp;lt;1&amp;amp;gt;       	unabbreviate &amp;amp;lt;1&amp;amp;gt; &lt;br /&gt;
 :set &amp;amp;lt;option&amp;amp;gt;   	set &amp;amp;lt;option&amp;amp;gt;...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==6.2 - set options==&lt;br /&gt;
&lt;br /&gt;
The abbreviations in parenthesis may be used.  Syntax:&amp;lt;dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;dd&amp;gt;:set &amp;amp;lt;option&amp;amp;gt; &amp;amp;lt;param&amp;amp;gt;   (If &amp;amp;lt;param&amp;amp;gt; is expected) &lt;br /&gt;
  Multiple options may be specified on one line.  &lt;br /&gt;
  &amp;lt;dd&amp;gt;:set &amp;amp;lt;option&amp;amp;gt;? displays the value of the &amp;amp;lt;option&amp;amp;gt; &lt;br /&gt;
  &amp;lt;dd&amp;gt;:set all displays the value of all the options.  &amp;lt;/dl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For options without a value, set no&amp;amp;lt;option&amp;amp;gt; turns it off.&amp;lt;p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Option:             Default:           What it does:&lt;br /&gt;
&lt;br /&gt;
autoindent (ai)     noai               Makes new lines automatically&lt;br /&gt;
                                         indent to the position as the &lt;br /&gt;
                                         line above or below&lt;br /&gt;
autoprint (ap)      ap                 Display changes after each &lt;br /&gt;
                                         command &lt;br /&gt;
autowrite (aw)      noaw               Automatically save file &lt;br /&gt;
                                         before :n, :!  &lt;br /&gt;
beautify (bf)       nobf               Ignore all control characters&lt;br /&gt;
                                         during input (except tab, &lt;br /&gt;
                                         newline, formfeed)&lt;br /&gt;
directory= (dir=)   /tmp               Name of the directory to store &lt;br /&gt;
                                         buffer &lt;br /&gt;
edcompatible        noedcompatible     Use ed-like features on &lt;br /&gt;
                                         substitute &lt;br /&gt;
errorbells (eb)     errorbells         Sound bell on error&lt;br /&gt;
exrc (ex)           noexrc             Allow .exrc files outside home &lt;br /&gt;
                                         dir &lt;br /&gt;
hardtabs= (ht=)     8                  Set boundary for hardware tabs &lt;br /&gt;
ignore case (ic)    noic               Ignore case in regex expressions &lt;br /&gt;
lisp                nolisp             Turn on lisp mode&lt;br /&gt;
list                nolist             Display all tabs, end of lines&lt;br /&gt;
magic               magic              Enable more regex expressions&lt;br /&gt;
mesg                mesg               Allows mesgs to be sent to &lt;br /&gt;
                                         terminal &lt;br /&gt;
number (nu)         nonumber           Displays line numbers in file &lt;br /&gt;
open                open               Allows open and visual&lt;br /&gt;
optimize (opt)      optimize           Optimizes throughput of text by &lt;br /&gt;
                                         not sending carriage returns &lt;br /&gt;
                                         when printing text&lt;br /&gt;
paragraphs= (para=) IPLPPPQPPLIbp      Sets the delimiters for { &amp;amp; }&lt;br /&gt;
prompt              prompt             Command mode input gives : prompt &lt;br /&gt;
readonly (ro)       noro               Cannot write unless ! is given  &lt;br /&gt;
redraw              noredraw           Redraw screen when edits are made &lt;br /&gt;
remap               remap              Allows macros that point to other&lt;br /&gt;
					 macros&lt;br /&gt;
report=             5                  Report changes if they effect &amp;amp;gt; x&lt;br /&gt;
					 lines&lt;br /&gt;
scroll              1/2 window         Amount of screen to scroll when&lt;br /&gt;
					 scroll down is received in&lt;br /&gt;
					 command mode.  Also, number of&lt;br /&gt;
					 lines printer by z.  (z prints&lt;br /&gt;
					 2*scroll)&lt;br /&gt;
sections=           SHNHH HU           Defines end of section for [[ &lt;br /&gt;
                                         and ]] &lt;br /&gt;
shell= (sh=)        /bin/sh            Default shell.  Uses SHELL&lt;br /&gt;
					 environment, if set&lt;br /&gt;
shiftwidth= (sw=)   8                  Characters to shift when using&lt;br /&gt;
					 shift commands&lt;br /&gt;
showmatch (sm)      nosm               Show matching {, }, (, ), [, or ] &lt;br /&gt;
showmode            noshowmode         Shows which mode you are in.&lt;br /&gt;
slowopen (slow)                        Do not update display &lt;br /&gt;
                                         immediately after insert&lt;br /&gt;
tabstop= (ts=)      8                  Sets tabstop length &lt;br /&gt;
taglength= (tl=)    0                  Number of characters significant&lt;br /&gt;
                                         for tags (0 means all &lt;br /&gt;
                                         characters)&lt;br /&gt;
tags=               tag, /usr/lib/tags Define pathname of files &lt;br /&gt;
                                         containing tags.&lt;br /&gt;
term=                                  Set the terminal type&lt;br /&gt;
terse               noterse            Display shorter error messages&lt;br /&gt;
timeout (to)        timeout            Keyboard maps timeout after one &lt;br /&gt;
                                         second &lt;br /&gt;
ttytype=                               Set the terminal type&lt;br /&gt;
warn                warn               Display &amp;quot;No write since last &lt;br /&gt;
                                         change&amp;quot; messages&lt;br /&gt;
window= (w=)                           Number of lines in window in visual&lt;br /&gt;
					 mode&lt;br /&gt;
wrapmargin= (wm=)   0                  Set the right margin.  Greater &lt;br /&gt;
                                         than 0 will word wrap n spaces&lt;br /&gt;
                                         from the edge of the screen&lt;br /&gt;
wrapscan (ws)       ws                 Searches wrap around end of file&lt;br /&gt;
writeany (wa)       nowa               Allow saving to any file&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSysop</name></author>
		
	</entry>
</feed>