home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / amiga / vim46bin.lha / vim-4.6 / doc / vim_idx.txt < prev    next >
Encoding:
Text File  |  1997-03-12  |  38.8 KB  |  953 lines

  1. *vim_idx.txt*   For Vim version 4.6.  Last modification: 1996 Dec 4
  2.  
  3. This file contains a list of all commands for each mode, with a tag and a
  4. short description.  The list is sorted on ASCII value.
  5.  
  6. When looking for certain functionality use the search command.  For example,
  7. to look for deleting something, use: "/delete".
  8.  
  9.             Sections:
  10. |insert_index|     1. Insert mode
  11. |normal_index|     2. Normal mode
  12. |objects|        2.1. text objects
  13. |CTRL-W|        2.2. window commands
  14. |[|            2.3. Square bracket commands
  15. |g|            2.4. Commands starting with 'g'
  16. |visual_index|     3. Visual mode
  17. |ex_edit_index|     4. Command-line editing
  18. |ex_cmd_index|     5. EX commands
  19.  
  20. For an overview of options see vim_help.txt |option_list|.
  21. For a complete description of each option see vim_ref.txt |options|.
  22.  
  23.  
  24. 1. Insert mode                        *insert_index*
  25. ==============
  26.  
  27. tag        char        action
  28. -----------------------------------------------------------------------
  29. |i_CTRL-@|    CTRL-@        insert previously inserted text and stop
  30.                 insert
  31. |i_CTRL-A|    CTRL-A        insert previously inserted text
  32. |i_CTRL-B|    CTRL-B        Only if compiled with TOGGLE_REVINS (which is
  33.                 not the default): toggle 'revins' (backwards
  34.                 insert) option.
  35. |i_CTRL-C|    CTRL-C        quit insert mode, without checking for
  36.                 abbreviation.
  37. |i_CTRL-D|    CTRL-D        delete one shiftwidth of indent in the current
  38.                 line
  39. |i_CTRL-E|    CTRL-E        insert the character which is below the cursor
  40.         CTRL-F        not used
  41.         CTRL-G        reserved for future expansion
  42. |i_<BS>|    <BS>        delete character before the cursor
  43. |i_digraph|    {char1}<BS>{char2}
  44.                 enter digraph (only when 'digraph' option set)
  45. |i_CTRL-H|    CTRL-H        same as <BS>
  46. |i_<Tab>|    <Tab>        insert a <Tab> character
  47. |i_CTRL-I|    CTRL-I        same as <Tab>
  48. |i_<NL>|    <NL>        same as <CR>
  49. |i_CTRL-J|    CTRL-J        same as <CR>
  50. |i_CTRL-K|    CTRL-K {char1} {char2}
  51.                 enter digraph
  52.         CTRL-L        not used
  53. |i_<CR>|    <CR>        begin new line
  54. |i_CTRL-M|    CTRL-M        same as <CR>
  55. |i_CTRL-N|    CTRL-N        find next match for keyword in front of the
  56.                 cursor
  57. |i_CTRL-O|    CTRL-O        execute a single command and return to insert
  58.                 mode
  59. |i_CTRL-P|    CTRL-P        find previous match for keyword in front of
  60.                 the cursor
  61. |i_CTRL-Q|    CTRL-Q        same as CTRL-V (used for terminal control flow)
  62. |i_CTRL-R|    CTRL-R <0-9a-z"%:>
  63.                 insert contents of register <0-9a-z"%:>
  64.         CTRL-S        (used for terminal control flow)
  65. |i_CTRL-T|    CTRL-T        insert one shiftwidth of indent in current
  66.                 line
  67. |i_CTRL-U|    CTRL-U        delete all entered characters in the current
  68.                 line
  69. |i_CTRL-V|    CTRL-V {char}    insert next non-digit literally
  70. |i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
  71.                 byte.
  72. |i_CTRL-W|    CTRL-W        delete word before the cursor
  73. |i_CTRL-X|    CTRL-X {mode}    enter CTRL-X sub mode, see below
  74. |i_CTRL-Y|    CTRL-Y        insert the character which is above the cursor
  75.         CTRL-Z        not used
  76. |i_<Esc>|    <Esc>        end insert mode
  77. |i_CTRL-[|    CTRL-[        same as <Esc>
  78.         CTRL-\        not used
  79.         CTRL-]        not used
  80.         CTRL-^        not used
  81. |i_CTRL-_|    CTRL-_        change language (RIGHTLEFT)
  82.  
  83.         <Space> to '~'    not used, except '0' and '^' followed by
  84.                 CTRL-D
  85.  
  86. |i_0_CTRL-D|    0 CTRL-D    delete all indent in the current line
  87. |i_^_CTRL-D|    ^ CTRL-D    delete all indent in the current line, restore
  88.                 it in the next line
  89.  
  90. |i_<Del>|    <Del>        delete character under the cursor
  91.  
  92.         Meta characters (0x80 to 0xff, 128 to 255)
  93.                 not used
  94.  
  95. |i_<Down>|    <Down>        cursor one line down
  96. |i_<End>|    <End>        cursor past end of line
  97. |i_<C-End>|    <C-End>        cursor past end of file
  98. |i_<F1>|    <F1>        same as <Help>
  99. |i_<Help>|    <Help>        stop insert mode and display help window
  100. |i_<Home>|    <Home>        cursor to start of line
  101. |i_<C-Home>|    <C-Home>    cursor to start of file
  102. |i_<Insert>|    <Insert>    toggle Insert/Replace mode
  103. |i_<Left>|    <Left>        cursor one character left
  104. |i_<LeftMouse>|    <LeftMouse>    cursor at mouse click
  105. |i_<PageDown>|    <PageDown>    one screenfull forward
  106. |i_<PageUp>|    <PageUp>    one screenfull backward
  107. |i_<Right>|    <Right>        cursor one character right
  108. |i_<S-Down>|    <S-Down>    same as <PageDown>
  109. |i_<S-Left>|    <S-Left>    cursor one word left
  110. |i_<S-Right>|    <S-Right>    cursor one word right
  111. |i_<S-Up>|    <S-Up>        same as <PageUp>
  112. |i_<Up>|    <Up>        cursor one line up
  113.  
  114. commands in CTRL-X submode
  115.  
  116. |i_CTRL-X_CTRL-D|    CTRL-X CTRL-D    complete defined identifiers
  117. |i_CTRL-X_CTRL-E|    CTRL-X CTRL-E    scroll up
  118. |i_CTRL-X_CTRL-F|    CTRL-X CTRL-F    complete file names
  119. |i_CTRL-X_CTRL-I|    CTRL-X CTRL-I    complete identifiers
  120. |i_CTRL-X_CTRL-K|    CTRL-X CTRL-K    complete identifers from dictionary
  121. |i_CTRL-X_CTRL-L|    CTRL-X CTRL-L    complete whole lines
  122. |i_CTRL-X_CTRL-Y|    CTRL-X CTRL-Y    scroll down
  123. |i_CTRL-X_CTRL-]|    CTRL-X CTRL-]    complete tags
  124.  
  125.  
  126. 2. Normal mode                        *normal_index*
  127. ==============
  128.  
  129. CHAR     any non-blank chararacter
  130. WORD     any sequences of non-blank characters
  131. N     a number entered before the command
  132. {motion} a cursor movement command
  133. Nmove     the text that is moved over with a {motion}
  134. SECTION     a section that possibly starts with '}' instead of '{'
  135.  
  136. note: 1 = cursor movement command; 2 = can be undone/redone
  137.  
  138. tag        char          note action in Normal mode
  139. ------------------------------------------------------------------------------
  140.         CTRL-@           not used
  141. |CTRL-A|    CTRL-A        2  add N to number at/after cursor
  142. |CTRL-B|    CTRL-B        1  scroll N screens Backwards
  143. |CTRL-C|    CTRL-C           interrupt current (search) command
  144. |CTRL-D|    CTRL-D           scroll Down N lines (default: half a screen)
  145. |CTRL-E|    CTRL-E           scroll N lines upwards (N lines Extra)
  146. |CTRL-F|    CTRL-F        1  scroll N screens Forward
  147. |CTRL-G|    CTRL-G           display current file name and position
  148. |<BS>|        <BS>        1  same as "h"
  149. |CTRL-H|    CTRL-H        1  same as "h"
  150. |<Tab>|        <Tab>        1  go to N newer entry in jump list
  151. |CTRL-I|    CTRL-I        1  same as <Tab>
  152. |<NL>|        <NL>        1  same as "j"
  153. |CTRL-J|    CTRL-J        1  same as "j"
  154.         CTRL-K           not used
  155. |CTRL-L|    CTRL-L           redraw screen
  156. |<CR>|        <CR>        1  cursor to the first CHAR N lines lower
  157. |CTRL-M|    CTRL-M>        1  same as <CR>
  158. |CTRL-N|    CTRL-N        1  same as "j"
  159. |CTRL-O|    CTRL-O        1  go to N older entry in jump list
  160. |CTRL-P|    CTRL-P        1  cursor N lines upward
  161.         CTRL-Q           (used for terminal control flow)
  162. |CTRL-R|    CTRL-R        2  redo changes which were undone with 'u'
  163.         CTRL-S           (used for terminal control flow)
  164. |CTRL-T|    CTRL-T           jump to N older Tag in tag list
  165. |CTRL-U|    CTRL-U           scroll N lines Upwards (default: half a
  166.                    screen)
  167. |CTRL-V|    CTRL-V           start blockwise Visual
  168. |CTRL-W|    CTRL-W {char}       window commands, see |CTRL-W|
  169. |CTRL-X|    CTRL-X        2  subtract N from number at/after cursor
  170. |CTRL-Y|    CTRL-Y           scroll N lines downwards
  171. |CTRL-Z|    CTRL-Z           suspend program (or start new shell)
  172.         CTRL-[ <Esc>       not used
  173.         CTRL-\           not used
  174. |CTRL-]|    CTRL-]           :ta to ident under cursor
  175. |CTRL-^|    CTRL-^           edit Nth alternate file (equivalent to
  176.                    ":e #N")
  177.         CTRL-_           not used
  178.  
  179. |<Space>|    <Space>        1  same as "l"
  180. |!|        !{motion}{filter}
  181.                 2  filter Nmove text through the {filter}
  182.                    command
  183. |!!|        !!{filter}    2  filter N lines through the {filter} command
  184. |quote|        "<a-zA-Z0-9.%:-">  use buffer <a-zA-Z0-9.%:-"> for next
  185.                    delete, yank or put (upper case to append)
  186.                    (<.%:> only work with put)
  187. |#|        #        1  search backward for the Nth occurrence of
  188.                    the ident under the cursor
  189. |$|        $        1  cursor to the end of Nth next line
  190. |%|        %        1  find the next (curly/square) bracket on
  191.                    this line and go to its match, or go to
  192.                    matching comment bracket, or go to matching
  193.                    preprocessor directive.
  194. |N%|        {count}%    1  go to N percentage in the file
  195. |&|        &        2  repeat last :s
  196. |'|        '<a-zA-Z0-9>    1  cursor to the first CHAR on the line with
  197.                    mark <a-zA-Z0-9>
  198. |''|        ''        1  cursor to the first CHAR of the line where
  199.                    the cursor was before the latest jump.
  200. |'<|        '<        1  cursor to the first CHAR of the line where
  201.                    highlighted area starts/started
  202. |'>|        '>        1  cursor to the first CHAR of the line where
  203.                    highlighted area ends/ended
  204. |'[|        '[        1  cursor to the first CHAR on the line of the
  205.                    start of last operated text or start of
  206.                    putted text
  207. |']|        ']        1  cursor to the first CHAR on the line of the
  208.                    end of last operated text or end of putted
  209.                    text
  210. |(|        (        1  cursor N sentences backward
  211. |)|        )        1  cursor N sentences forward
  212. |star|        *        1  search forward for the Nth occurrence of
  213.                    the ident under the cursor
  214. |+|        +        1  cursor to the first CHAR N lines lower
  215. |,|        ,        1  repeat latest f, t, F or T in opposite
  216.                    direction N times
  217. |-|        -        1  cursor to the first CHAR N lines higher
  218. |.|        .        2  repeat last change with count replaced with
  219.                    N
  220. |/|        /{pattern}<CR>    1  search forward for the Nth occurrence of
  221.                    {pattern}
  222. |/<CR>|        /<CR>        1  search forward for {pattern} of last search
  223. |count|        0        1  cursor to the first char of the line
  224. |count|        1           prepend to command to give a count
  225. |count|        2            "
  226. |count|        3            "
  227. |count|        4            "
  228. |count|        5            "
  229. |count|        6            "
  230. |count|        7            "
  231. |count|        8            "
  232. |count|        9            "
  233. |:|        :           start entering an Ex command
  234. |N:|        {count}:       start entering an Ex command with range
  235.                    from current line to N lines down
  236. |;|        ;        1  repeat latest f, t, F or T N times
  237. |<|        <{motion}    2  shift Nmove lines one 'shiftwidth'
  238.                    leftwards
  239. |<<|        <<        2  shift N lines one 'shiftwidth' leftwards
  240. |=|        ={motion}    2  filter Nmove lines through "indent"
  241. |==|        ==        2  filter N lines through "indent"
  242. |>|        >{motion}    2  shift Nmove lines one 'shiftwidth'
  243.                    rightwards
  244. |>>|        >>        2  shift N lines one 'shiftwidth' rightwards
  245. |?|        ?<pattern><CR>    1  search backward for the Nth previous
  246.                    occurrence of <pattern>
  247. |?<CR>|        ?<CR>        1  search backward for {pattern} of last search
  248. |@|        @<a-z>        2  execute the contents of named buffer <a-z>
  249.                    N times
  250. |@:|        @:           repeat the previous ":" command N times
  251. |@@|        @@        2  repeat the previous @<a-z> N times
  252. |A|        A        2  append text at the end of the line N times
  253. |B|        B        1  cursor N WORDS backward
  254. |C|        ["x]C        2  change from the cursor position to the end
  255.                    of the line, and N-1 more lines [into
  256.                    buffer x]; synonym for "c$"
  257. |D|        ["x]D        2  delete the characters under the cursor
  258.                    until the end of the line and N-1 more
  259.                    lines [into buffer x]; synonym for "d$"
  260. |E|        E        1  cursor forward to the end of WORD N
  261. |F|        F{char}        1  cursor to the Nth occurrence of {char} to
  262.                    the left
  263. |G|        G        1  cursor to line N, default last line
  264. |H|        H        1  cursor to line N from top of screen
  265. |I|        I        2  insert text before the first CHAR on the
  266.                    line N times
  267. |J|        J        2  Join N lines; default is 2
  268. |K|        K           lookup Keyword under the cursor with
  269.                    'keywordprg'
  270. |L|        L        1  cursor to line N from bottom of screen
  271. |M|        M        1  cursor to middle line of screen
  272. |N|        N        1  repeat the latest '/' or '?' N times in
  273.                    opposite direction
  274. |O|        O        2  begin a new line above the cursor and
  275.                    insert text, repeat N times
  276. |P|        ["x]P        2  put the text [from buffer x] before the
  277.                    cursor N times
  278. |Q|        Q{motion}    2  format Nmove lines (obsolete)
  279. |R|        R        2  enter replace mode: overtype existing
  280.                    characters, repeat the entered text N-1
  281.                    times
  282. |S|        ["x]S        2  delete N lines [into buffer x] and start
  283.                    insert; synonym for "^cc" or "0cc",
  284.                    depending on autoindent
  285. |T|        T{char}        1  cursor till after Nth occurrence of {char}
  286.                    to the left
  287. |U|        U        2  undo all latest changes on one line
  288. |V|        V           start linewise Visual mode
  289. |W|        W        1  cursor N WORDS forward
  290. |X|        ["x]X        2  delete N characters before the cursor [into
  291.                    buffer x]
  292. |Y|        ["x]Y           yank N lines [into buffer x]; synonym for
  293.                    "yy"
  294. |ZZ|        ZZ           store current file if modified, and exit
  295. |ZQ|        ZQ           exit current file always
  296. |[|        [{char}           square bracket command (see below)
  297.         \           not used
  298. |]|        ]{char}           square bracket command (see below)
  299. |^|        ^        1  cursor to the first CHAR of the line
  300. |_|        _        1  cursor to the first CHAR N - 1 lines lower
  301. |`|        `<a-zA-Z0-9>    1  cursor to the mark <a-zA-Z0-9>
  302. |`<|        `<        1  cursor to the start of the highlighted area
  303. |`>|        `>        1  cursor to the end of the highlighted area
  304. |`[|        `[        1  cursor to the start of last operated text
  305.                    or start of putted text
  306. |`]|        `]        1  cursor to the end of last operated text or
  307.                    end of putted text
  308. |``|        ``        1  cursor to the position before latest jump
  309. |a|        a        2  append text after the cursor N times
  310. |b|        b        1  cursor N words backward
  311. |c|        ["x]c{motion}    2  delete Nmove text [into buffer x] and start
  312.                    insert
  313. |cc|        ["x]cc        2  delete N lines [into buffer x] and start
  314.                    insert
  315. |d|        ["x]d{motion}    2  delete Nmove text [into buffer x]
  316. |dd|        ["x]dd        2  delete N lines [into buffer x]
  317. |e|        e        1  cursor forward to the end of word N
  318. |f|        f{char}        1  cursor to Nth occurrence of {char} to the
  319.                    right
  320. |g|        g{char}           extended commands, see below
  321. |h|        h        1  cursor N chars to the left
  322. |i|        i        2  insert text before the cursor N times
  323. |j|        j        1  cursor N lines downward
  324. |k|        k        1  cursor N lines upward
  325. |l|        l        1  cursor N chars to the right
  326. |m|        m<A-Za-z>       set mark <A-Za-z> at cursor position
  327. |n|        n        1  repeat the latest '/' or '?' N times
  328. |o|        o        2  begin a new line below the cursor and
  329.                    insert text, repeat N times
  330. |p|        ["x]p        2  put the text [from register x] after the
  331.                    cursor N times
  332. |q|        q<0-9a-zA-Z">       record typed characters into named register
  333.                    <0-9a-zA-Z"> (upper case to append)
  334. |q|        q           (while recording) stops recording
  335. |r|        r{char}        2  replace N chars with {char}
  336. |s|        ["x]s        2  (substitute) delete N characters [into
  337.                    buffer x] and start insert
  338. |t|        t{char}        1  cursor till before Nth occurrence of {char}
  339.                    to the right
  340. |u|        u        2  undo changes
  341. |v|        v           start characterwise Visual mode
  342. |w|        w        1  cursor N words forward
  343. |x|        ["x]x        2  delete N characters under and after the
  344.                    cursor [into buffer x]
  345. |y|        ["x]y{motion}       yank Nmove text [into buffer x]
  346. |yy|        ["x]yy           yank N lines [into buffer x]
  347. |z<CR>|        z<CR>              redraw, cursor line to top of window,
  348.                    cursor on first non-blank
  349. |zN<CR>|    z{height}<CR>       redraw, make window {height} lines high
  350. |z.|        z.           redraw, cursor line to center of window,
  351.                    cursor on first non-blank
  352. |z-|        z-           redraw, cursor line at bottom of window,
  353.                    cursor on first non-blank
  354. |zb|        zb           redraw, cursor line at bottom of window
  355. |ze|        ze           when 'wrap' off scroll horizontally to
  356.                    position the cursor at the end (right side)
  357.                    of the screen
  358. |zh|        zh           when 'wrap' off scroll screen N characters
  359.                    to the right
  360. |zl|        zl           when 'wrap' off scroll screen N characters
  361.                    to the left
  362. |zs|        zs           when 'wrap' off scroll horizontally to
  363.                    position the cursor at the start (left
  364.                    side) of the screen
  365. |zt|        zt           redraw, cursor line at top of window
  366. |zz|        zz           redraw, cursor line at center of window
  367. |z<Left>|    z<Left>           same as "zh"
  368. |z<Right>|    z<Right>       same as "zl"
  369. |{|        {        1  cursor N paragraphs backward
  370. |bar|        |        1  cursor to column N
  371. |}|        }        1  cursor N paragraphs forward
  372. |~|        ~        2  'tildeop' off: switch case of N characters
  373.                    under cursor and move the cursor N
  374.                    characters to the right
  375. |~|        ~{motion}       'tildeop' on: switch case of Nmove text
  376. |<C-LeftMouse>|    <C-LeftMouse>       ":ta" to the keyword at the mouse click
  377. |<C-RightMouse>| <C-RightMouse>       same as "CTRL-T"
  378. |<Del>|        ["x]<Del>    2  same as "x"
  379. |N<Del>|    {count}<Del>       remove the last digit from {count}
  380. |<Down>|    <Down>        1  same as "j"
  381. |<End>|        <End>        1  same as "$"
  382. |<C-End>|    <C-End>        1  same as "G"
  383. |<F1>|        <F1>           same as <Help>
  384. |<Help>|    <Help>           open a help window
  385. |<Home>|    <Home>        1  same as "0"
  386. |<C-Home>|    <C-Home>    1  same as "gg"
  387. |<Insert>|    <Insert>    2  same as "i"
  388. |<Left>|    <Left>        1  same as "h"
  389. |<LeftMouse>|    <LeftMouse>    1  move cursor to the mouse click position
  390. |<MiddleMouse>| <MiddleMouse>    2  same as "P" at the mouse click position
  391. |<PageDown>|    <PageDown>       same as CTRL-F
  392. |<PageUp>|    <PageUp>       same as CTRL-B
  393. |<Right>|    <Right>        1  same as "l"
  394. |<RightMouse>|    <RightMouse>       start Visual mode, move cursor to the mouse
  395.                    click position
  396. |<S-Down>|    <S-Down>    1  same as CTRL-F
  397. |<S-Left>|    <S-Left>    1  same as "b"
  398. |<S-LeftMouse>|    <S-LeftMouse>       same as "*" at the mouse click position
  399. |<S-Right>|    <S-Right>    1  same as "w"
  400. |<S-RightMouse>| <S-RightMouse>       same as "#" at the mouse click position
  401. |<S-Up>|    <S-Up>        1  same as CTRL-B
  402. |<Undo>|    <Undo>        2  same as "u"
  403. |<Up>|        <Up>        1  same as "k"
  404.  
  405.  
  406. 2.1 text objects                        *objects*
  407.  
  408. These can be used after an operator or in Visual mode to select an object
  409. |v_a|        a           a word (with white space)
  410. |v_A|        A           a WORD (with white space)
  411. |v_p|        p           a paragraph
  412. |v_s|        s           a sentence
  413. |v_P|        P           a block from "[{" to "]}"
  414. |v_S|        S           a block from "[(" and "])"
  415.  
  416.  
  417. 2.2 window commands                        *CTRL-W*
  418.  
  419. tag        command                 action in Normal mode
  420. ------------------------------------------------------------------------------
  421. |CTRL-W_CTRL-B|    CTRL-W CTRL-B       same as "CTRL-W b"
  422. |CTRL-W_CTRL-C|    CTRL-W CTRL-C       same as "CTRL-W c"
  423. |CTRL-W_CTRL-D|    CTRL-W CTRL-D       same as "CTRL-W d"
  424. |CTRL-W_CTRL-F|    CTRL-W CTRL-F       same as "CTRL-W f"
  425. |CTRL-W_CTRL-I|    CTRL-W CTRL-I       same as "CTRL-W i"
  426. |CTRL-W_CTRL-J|    CTRL-W CTRL-J       same as "CTRL-W j"
  427. |CTRL-W_CTRL-K|    CTRL-W CTRL-K       same as "CTRL-W k"
  428. |CTRL-W_CTRL-N|    CTRL-W CTRL-N       same as "CTRL-W n"
  429. |CTRL-W_CTRL-O|    CTRL-W CTRL-O       same as "CTRL-W o"
  430. |CTRL-W_CTRL-P|    CTRL-W CTRL-P       same as "CTRL-W p"
  431. |CTRL-W_CTRL-Q|    CTRL-W CTRL-Q       same as "CTRL-W q"
  432. |CTRL-W_CTRL-R|    CTRL-W CTRL-R       same as "CTRL-W r"
  433. |CTRL-W_CTRL-S|    CTRL-W CTRL-S       same as "CTRL-W s"
  434. |CTRL-W_CTRL-T|    CTRL-W CTRL-T       same as "CTRL-W t"
  435. |CTRL-W_CTRL-W|    CTRL-W CTRL-W       same as "CTRL-W w"
  436. |CTRL-W_CTRL-X|    CTRL-W CTRL-X       same as "CTRL-W x"
  437. |CTRL-W_CTRL-]|    CTRL-W CTRL-]       same as "CTRL-W ]"
  438. |CTRL-W_CTRL-^|    CTRL-W CTRL-^       same as "CTRL-W ^"
  439. |CTRL-W_CTRL-_|    CTRL-W CTRL-_       same as "CTRL-W _"
  440. |CTRL-W_+|    CTRL-W +       increase current window height N lines
  441. |CTRL-W_-|    CTRL-W -       decrease current window height N lines
  442. |CTRL-W_=|    CTRL-W =       make all windows the same height
  443. |CTRL-W_R|    CTRL-W R       rotate windows upwards N times
  444. |CTRL-W_S|    CTRL-W S       same as "CTRL-W s"
  445. |CTRL-W_W|    CTRL-W W       go to N previous window (wrap around)
  446. |CTRL-W_]|    CTRL-W ]       split window and jump to tag under cursor
  447. |CTRL-W_^|    CTRL-W ^       split current window and edit alternate
  448.                    file N
  449. |CTRL-W__|    CTRL-W _       set current window height to N (default:
  450.                    very high)
  451. |CTRL-W_b|    CTRL-W b       go to bottom window
  452. |CTRL-W_c|    CTRL-W c       close current window (like ":close")
  453. |CTRL-W_d|    CTRL-W d       split window and jump to definition under
  454.                    the cursor
  455. |CTRL-W_f|    CTRL-W f       split window and edit filename under the
  456.                    cursor
  457. |CTRL-W_i|    CTRL-W i       split window and jump to declaration of
  458.                    identifier under the cursor
  459. |CTRL-W_j|    CTRL-W j       go to N next window (stop at last window)
  460. |CTRL-W_k|    CTRL-W k       go to N previous window (stop at first
  461.                    window)
  462. |CTRL-W_n|    CTRL-W n       open new window, N lines high
  463. |CTRL-W_o|    CTRL-W o       close all but current window (like ":only")
  464. |CTRL-W_p|    CTRL-W p       go to previous (last accessed) window
  465. |CTRL-W_q|    CTRL-W q       quit current window (like ":quit")
  466. |CTRL-W_r|    CTRL-W r       rotate windows downwards N times
  467. |CTRL-W_s|    CTRL-W s       split current window in two parts, new
  468.                    window N lines high
  469. |CTRL-W_t|    CTRL-W t       go to top window
  470. |CTRL-W_w|    CTRL-W w       go to N next window (wrap around)
  471. |CTRL-W_x|    CTRL-W x       exchange current window with window N
  472.                    (default: next window)
  473. |CTRL-W_<Down>|    CTRL-W <Down>       same as "CTRL-W j"
  474. |CTRL-W_<Up>|    CTRL-W <Up>       same as "CTRL-W k"
  475.  
  476.  
  477. 2.3 Square bracket commands                    *[* *]*
  478.  
  479. tag        char          note action in Normal mode
  480. ------------------------------------------------------------------------------
  481. |[_CTRL-D|    [_CTRL-D       jump to first #define found in current and
  482.                    included files matching the word under the
  483.                    cursor, start searching at beginning of
  484.                    current file
  485. |[_CTRL-I|    [_CTRL-I       jump to first line in current and included
  486.                    files that contains the word under the
  487.                    cursor, start searching at beginning of
  488.                    current file
  489. |[#|        [#        1  cursor to N previous unmatched #if, #else
  490.                    or #ifdef
  491. |[(|        [(        1  cursor N times back to unmatched '('
  492. |[star|        [*        1  same as "[/"
  493. |[/|        [/        1  cursor to N previous start of a C comment
  494. |[D|        [D           list all defines found in current and
  495.                    included files matching the word under the
  496.                    cursor, start searching at beginning of
  497.                    current file
  498. |[I|        [I           list all lines found in current and
  499.                    included files that contain the word under
  500.                    the cursor, start searching at beginning of
  501.                    current file
  502. |[P|        [P        2  same as "[p"
  503. |[[|        [[        1  cursor N sections backward
  504. |[]|        []        1  cursor N SECTIONS backward
  505. |[d|        [d              show first #define found in current and
  506.                    included files matching the word under the
  507.                    cursor, start searching at beginning of
  508.                    current file
  509. |[f|        [f           same as "gf"
  510. |[i|        [i            show first line found in current and
  511.                    included files that contains the word under
  512.                    the cursor, start searching at beginning of
  513.                    current file
  514. |[p|        [p        2  like "P", but adjust indent to current line
  515. |[{|        [{        1  cursor N times back to unmatched '{'
  516. |[<MiddleMouse> [<MiddleMouse>    2  same as "[p"
  517.  
  518. |]_CTRL-D|    ]_CTRL-D       jump to first #define found in current and
  519.                    included files matching the word under the
  520.                    cursor, start searching at cursor position
  521. |]_CTRL-I|    ]_CTRL-I       jump to first line in current and included
  522.                    files that contains the word under the
  523.                    cursor, start searching at cursor position
  524. |]#|        ]#        1  cursor to N next unmatched #endif or #else
  525. |])|        ])        1  cursor N times forward to unmatched ')'
  526. |]star|        ]*        1  same as "]/"
  527. |]/|        ]/        1  cursor to N next end of a C comment
  528. |]D|        ]D           list all #defines found in current and
  529.                    included files matching the word under the
  530.                    cursor, start searching at cursor position
  531. |]I|        ]I           list all lines found in current and
  532.                    included files that contain the word under
  533.                    the cursor, start searching at cursor
  534.                    position
  535. |]P|        ]P        2  same as "[p"
  536. |][|        ][        1  cursor N SECTIONS forward
  537. |]]|        ]]        1  cursor N sections forward
  538. |]d|        ]d              show first #define found in current and
  539.                    included files matching the word under the
  540.                    cursor, start searching at cursor position
  541. |]f|        ]f           same as "gf"
  542. |]i|        ]i            show first line found in current and
  543.                    included files that contains the word under
  544.                    the cursor, start searching at cursor
  545.                    position
  546. |]p|        ]p        2  like "p", but adjust indent to current line
  547. |]}|        ]}        1  cursor N times forward to unmatched '}'
  548. |]<MiddleMouse> ]<MiddleMouse>    2  same as "]p"
  549.  
  550.  
  551. 2.4 Commands starting with 'g'                        *g*
  552.  
  553. tag        char          note action in Normal mode
  554. ------------------------------------------------------------------------------
  555. |g#|        g#        1  like "#", but without using "\<" and "\>"
  556. |g$|        g$        1  when 'wrap' off go to rightmost character of
  557.                    the current line that is on the screen;
  558.                    when 'wrap' on go to the rightmost character
  559.                    of the current screen line
  560. |gstar|        g*        1  like "*", but without using "\<" and "\>"
  561. |g0|        g0        1  when 'wrap' off go to leftmost character of
  562.                    the current line that is on the screen;
  563.                    when 'wrap' on go to the leftmost character
  564.                    of the current screen line
  565. |gD|        gD        1  goto definiton of word under the cursor in
  566.                    current file
  567. |gE|        gE        1  go backwards to the end of the previous
  568.                    WORD
  569. |gI|        gI        2  like "I", but always start in column 1
  570. |gU|        gU{motion}    2  make Nmove text uppercase
  571. |g^|        g^        1  when 'wrap' off go to leftmost non-white
  572.                    character of the current line that is on
  573.                    the screen; when 'wrap' on go to the
  574.                    leftmost non-white character of the current
  575.                    screen line
  576. |g_CTRL-G|    g_CTRL-G       show information about current cursor
  577.                    position
  578. |ga|        ga           print ascii value of character under the
  579.                    cursor
  580. |gd|        gd        1  goto definiton of word under the cursor in
  581.                    current function
  582. |ge|        ge        1  go backwards to the end of the previous
  583.                    word
  584. |gf|        gf           start editing the file whose name is under
  585.                    the cursor
  586. |gg|        gg        1  cursor to line N, default first line
  587. |gj|        gj        1  like "j", but when 'wrap' on go N screen
  588.                    lines down
  589. |gk|        gk        1  like "k", but when 'wrap' on go N screen
  590.                    lines up
  591. |gq|        gq{motion}    2  format Nmove text (same as "Q")
  592. |gs|        gs           goto sleep for N seconds (default 1)
  593. |gu|        gu{motion}    2  make Nmove text lowercase
  594. |gv|        gv           reselect the previous Visual area
  595. |g~|        g~{motion}    2  swap case for Nmove text
  596. |g<Down>|    g<Down>        1  same as "gj"
  597. |g<End>|    g<End>        1  same as "g$"
  598. |g<Home>|    g<Home>        1  same as "g0"
  599. |g<LeftMouse>|    g<LeftMouse>       same as <C-LeftMouse>
  600. |g<RightMouse>|    g<RightMouse>       same as <C-RightMouse>
  601. |g<Up>|        g<Up>        1  same as "gk"
  602.  
  603.  
  604. 3. Visual mode                        *visual_index*
  605. ==============
  606.  
  607. Most commands in Visual mode are the same as in Normal mode. The ones listed
  608. here are those that are different.
  609.  
  610. tag        command          note action in Visual mode
  611. ------------------------------------------------------------------------------
  612. |v_CTRL-V|    CTRL-V           make Visual mode blockwise or stop Visual
  613.                    mode
  614. |v_CTRL-]|    CTRL-]           jump to highlighted tag
  615. |v_!|        !{filter}    2  filter the highlighted lines through the
  616.                    external command {filter}
  617. |v_:|        :           start a command-line with the highlighted
  618.                    lines as a range
  619. |v_<|        <        2  shift the highlighted lines one
  620.                    'shiftwidth' left
  621. |v_=|        =        2  filter the highlighted lines through the
  622.                    external program given with the 'equalprg'
  623.                    option
  624. |v_>|        >        2  shift the highlighted lines one
  625.                    'shiftwidth' right
  626. |v_A|        A           extend the highlighted area with a WORD
  627. |v_C|        C        2  delete the highlighted lines and start
  628.                    insert
  629. |v_D|        D        2  delete the highlighted lines
  630. |v_J|        J        2  join the highlighted lines
  631. |v_K|        K           run 'keywordprg' on the highlighted text
  632. |v_P|        P           extend the highlighted text with a {} block
  633. |v_Q|        Q        2  format the highlighted lines (obsolete)
  634. |v_R|        R        2  delete the highlighted lines and start
  635.                    insert
  636. |v_S|        S           extend the highlighted text with a () block
  637. |v_U|        U        2  make highlighted text uppercase
  638. |v_V|        V           make Visual mode linewise or stop Visual
  639.                    mode
  640. |v_X|        X        2  delete the highlighted lines
  641. |v_Y|        Y           yank the highlighted lines
  642. |v_a|        a           extend the highlighted area with a word
  643. |v_c|        c        2  delete the highlighted text and start insert
  644. |v_d|        d        2  delete the highlighted text
  645. |v_gq|        gq        2  format the highlighted lines
  646. |v_gv|        gv           exchange current and previous highlighted
  647.                    text
  648. |v_o|        o           move cursor to other end of hightlighted
  649.                    text
  650. |v_p|        p           extend the highlighted area with a paragraph
  651. |v_r|        r        2  delete the highlighted text and start insert
  652. |v_s|        s           extend the highlighted area with a sentence
  653. |v_u|        u        2  make highlighted text lowercase
  654. |v_v|        v           make Visual mode characterwise or stop
  655.                    Visual mode
  656. |v_x|        x        2  delete the highlighted text
  657. |v_y|        y           yank the highlighted text
  658. |v_~|        ~        2  swap case for the highlighted text
  659.  
  660.  
  661. 4. Command-line editing                    *ex_edit_index*
  662. =======================
  663.  
  664. Get to the command-line with the ':', '!', '/' or '?' commands.
  665. Normal characters are inserted at the current cursor position.
  666. "Completion" below refers to context-sensitive completion.  It will complete
  667. filenames, tags, commands etc. as appropriate.
  668.  
  669.         CTRL-@        not used
  670. |c_CTRL-A|    CTRL-A        do completion on the pattern in front of the
  671.                 cursor and insert all matches
  672. |c_CTRL-B|    CTRL-B        cursor to begin of command-line
  673. |c_CTRL-C|    CTRL-C        same as <ESC>
  674. |c_CTRL-D|    CTRL-D        list completions that match the pattern in
  675.                 front of the cursor
  676. |c_CTRL-E|    CTRL-E        cursor to end of command-line
  677.         CTRL-F        not used
  678.         CTRL-G        not used
  679. |c_<BS>|    <BS>        delete the character in front of the cursor
  680. |c_digraph|    {char1} <BS> {char2}
  681.                 enter digraph when 'digraph' is on
  682. |c_CTRL-H|    CTRL-H        same as <BS>
  683. |c_<Tab>|    <Tab>        if 'wildchar' is <Tab>: Do completion on
  684.                 the pattern in front of the cursor
  685. |c_<S-Tab>|    <S-Tab>        same as CTRL-P
  686. |c_wildchar|    'wildchar'    Do completion on the pattern in front of the
  687.                 cursor (default: <Tab>)
  688. |c_CTRL-I|    CTRL-I        same as <Tab>
  689. |c_<NL>|    <NL>        same as <CR>
  690. |c_CTRL-J|    CTRL-J        same as <CR>
  691. |c_CTRL-K|    CTRL-K {char1} {char2}
  692.                 enter digraph
  693. |c_CTRL-L|    CTRL-L        do completion on the pattern in front of the
  694.                 cursor and insert the longest common part
  695. |c_<CR>|    <CR>        execute entered command
  696. |c_<CR>|    CTRL-M        same as <CR>
  697. |c_CTRL-N|    CTRL-N        after using 'wildchar' with multiple matches:
  698.                 go to next match, otherwise: same as <Down>
  699.         CTRL-O        not used
  700. |c_CTRL-P|    CTRL-P        after using 'wildchar' with multiple matches:
  701.                 go to previous match, otherwise: same as <Up>
  702. |c_CTRL-Q|    CTRL-Q        same as CTRL-V (used for terminal control flow)
  703. |c_CTRL-R|    CTRL-R <0-9a-z"%:>
  704.                 insert contents of register <0-9a-z"%:>
  705.         CTRL-S        (used for terminal control flow)
  706.         CTRL-T        not used
  707. |c_CTRL-U|    CTRL-U        remove all characters
  708. |c_CTRL-V|    CTRL-V        insert next non-digit literally, insert three
  709.                 digit decimal number as a single byte.
  710. |c_CTRL-W|    CTRL-W        delete the word in front of the cursor
  711.         CTRL-X        not used
  712.         CTRL-Y        not used
  713.         CTRL-Z        not used
  714. |c_<Esc>|    <Esc>        abandon command-line without executing it
  715. |c_<Esc>|    CTRL-[        same as <Esc>
  716.         CTRL-\        not used
  717.         CTRL-]        not used
  718.         CTRL-^        not used
  719. |c_CTRL-_|    CTRL-_        change languate (RIGHTLEFT)
  720. |c_<Del>|    <Del>        delete the character under the cursor
  721. |c_<Down>|    <Down>        recall next command-line from history that
  722.                 matches pattern in front of the cursor
  723. |c_<End>|    <End>        cursor to end of command-line
  724. |c_<Home>|    <Home>        cursor to start of command-line
  725. |c_<Insert>|    <Insert>    toggle insert/overstrike mode
  726. |c_<Left>|    <Left>        cursor left
  727. |c_<LeftMouse>|    <LeftMouse>    cursor at mouse click
  728. |c_<PageDown>|    <PageDown>    same as <S-Down>
  729. |c_<PageUp>|    <PageUp>    same as <S-Up>
  730. |c_<Right>|    <Right>        cursor right
  731. |c_<S-Down>|    <S-Down>    recall next command-line from history
  732. |c_<S-Left>|    <S-Left>    cursor one word left
  733. |c_<S-Right>|    <S-Right>    cursor one word right
  734. |c_<S-Up>|    <S-Up>        recall previous command-line from history
  735. |c_<Up>|    <Up>        recall previous command-line from history that
  736.                 matches pattern in front of the cursor
  737.  
  738.  
  739. 5. EX commands                        *ex_cmd_index*
  740. ==============
  741.  
  742. This is a brief listing of all the ":" commands, without mentioning any
  743. arguments.
  744.  
  745. |:!|        :!        filter lines or execute an external command
  746. |:!!|        :!!        repeat last ":!" command
  747. |:#|        :#        same as ":number"
  748. |:&|        :&        repeat last ":substitute"
  749. |:<|        :<        shift lines one 'shiftwidth' left
  750. |:=|        :=        print the cursor line number
  751. |:>|        :>        shift lines one 'shiftwidth' right
  752. |:@|        :@        execute contents of a register
  753. |:@@|        :@@        repeat the previous ":@"
  754. |:Next|        :N[ext]        go to previous file in the argument list
  755. |:append|    :a[ppend]    append text (not implemented)
  756. |:abbreviate|    :ab[breviate]    enter abbreviation
  757. |:abclear|    :abc[lear]    remove all abbreviations
  758. |:all|        :al[l]        open a window for each file in the argument
  759.                 list
  760. |:args|        :ar[gs]        print the argument list
  761. |:argument|    :argu[ment]    go to specific file in the argument list
  762. |:ascii|    :a[scii]    print ascii value of character under the
  763.                 cursor
  764. |:autocmd|    :au[tocmd]    enter or show autocommands
  765. |:buffer|    :b[uffer]    go to specific buffer in the buffer list
  766. |:bNext|    :bN[ext]    go to next buffer in the buffer list
  767. |:ball|        :ba[ll]        open a window for each file in the buffer list
  768. |:bdelete|    :bd[elete]    delete specific files from the buffer list
  769. |:blast|    :bl[ast]    go to last file in the buffer list
  770. |:bmodified|    :bm[odified]    go to next file in the buffer list that has
  771.                 been modified
  772. |:bnext|    :bn[ext]    go to next file in the buffer list
  773. |:bprevious|    :bp[revious]    go to previous file in the buffer list
  774. |:brewind|    :br[ewind]    go to last file in the buffer list
  775. |:buffers|    :buffers    list all files in the buffer list
  776. |:bunload|    :bun[load]    unload a specific buffer
  777. |:change|    :c[hange]    replace a line (not implemented)
  778. |:cNext|    :cN[ext]    go to previous error
  779. |:cabbrev|    :ca[bbrev]    like ":abbreviate" but for command-line mode
  780. |:cabclear|    :cabc[lear]    clear all abbreviations for command-line mode
  781. |:cc|        :cc        go to specific error
  782. |:cd|        :cd        change directory
  783. |:center|    :ce[nter]    format lines at the center
  784. |:cfile|    :cf[ile]    read the file with error messages
  785. |:chdir|    :chd[ir]    change directory
  786. |:checkpath|    :che[ckpath]    list included files
  787. |:clist|    :cl[ist]    list all errors
  788. |:close|    :clo[se]    close current window
  789. |:cmap|        :cm[ap]        like ":map" but for command-line mode
  790. |:cmapclear|    :cmapc[lear]    clear all mappings for command-line mode
  791. |:cnext|    :cn[ext]    go to next error
  792. |:cnoremap|    :cno[remap]    like ":noremap" but for command-line mode
  793. |:cnoreabbrev|    :cnorea[bbrev]    like ":noreabbrev" but for command-line mode
  794. |:copy|        :co[py]        copy lines
  795. |:cprevious|    :cp[revious]    go to previous error
  796. |:cquit|    :cq[uit]    quit Vim with an error code
  797. |:cunmap|    :cu[nmap]    like ":unmap" but for command-line mode
  798. |:cunabbrev|    :cuna[bbrev]    like ":unabbrev" but for command-line mode
  799. |:delete|    :d[elete]    delete lines
  800. |:display|    :di[splay]    display registers
  801. |:digraphs|    :dig[raphs]    show or enter digraphs
  802. |:djump|    :dj[ump]    jump to #define
  803. |:dlist|    :dl[ist]    list #defines
  804. |:doautocmd|    :do[autocmd]    apply autocommands
  805. |:dsearch|    :ds[earch]    list one #define
  806. |:dsplit|    :dsp[lit]    split window and jump to #define
  807. |:edit|        :e[dit]        edit a file
  808. |:endif|    :en[dif]    end previous :if
  809. |:ex|        :ex        same as ":edit"
  810. |:exit|        :exi[t]        same as ":xit"
  811. |:file|        :f[ile]        show or set the current file name
  812. |:files|    :files        list all files in the buffer list
  813. |:fixdel|    :fix[del]    set key code of <Del>
  814. |:global|    :g[lobal]    execute commands for matching lines
  815. |:gui|        :gu[i]        start the GUI
  816. |:gvim|        :gv[im]        start the GUI
  817. |:help|        :h[elp]        open a help window
  818. |:if|        :if        ignore all commands until matching :endif
  819. |:insert|    :i[nsert]    insert text (not implemented)
  820. |:iabbrev|    :ia[bbrev]    like ":abbrev" but for Insert mode
  821. |:iabclear|    :iabc[lear]    like ":abclear" but for Insert mode
  822. |:ijump|    :ij[ump]    jump to definition of identifier
  823. |:ilist|    :il[ist]    list lines where identifier matches
  824. |:imap|        :im[ap]        like ":map" but for Insert mode
  825. |:imapclear|    :imapc[lear]    like ":mapclear" but for Insert mode
  826. |:inoremap|    :ino[remap]    like ":noremap" but for Insert mode
  827. |:inoreabbrev|    :inorea[bbrev]    like ":noreabbrev" but for Insert mode
  828. |:isearch|    :is[earch]    list one line where identifier matches
  829. |:isplit|    :isp[lit]    split window and jump to definition of
  830.                 identifier
  831. |:iunmap|    :iu[nmap]    like ":unmap" but for Insert mode
  832. |:iunabbrev|    :iuna[bbrev]    like ":unabbrev" but for Insert mode
  833. |:join|        :j[oin]        join lines
  834. |:jumps|    :ju[mps]    print the jump list
  835. |:k|        :k        set a mark
  836. |:list|        :l[ist]        print lines
  837. |:last|        :la[st]        go to the last file in the argument list
  838. |:left|        :le[ft]        left align lines
  839. |:ls|        :ls        list all buffers
  840. |:move|        :m[ove]        move lines
  841. |:mark|        :ma[rk]        set a mark
  842. |:make|        :mak[e]        execute external command 'makeprg' and parse
  843.                 error messages
  844. |:map|        :map        show or enter a mapping
  845. |:mapclear|    :mapc[lear]    clear all mappings for Normal and Visual mode
  846. |:marks|    :marks        list all marks
  847. |:menu|        :me[nu]        enter a new menu item
  848. |:mkexrc|    :mk[exrc]    write current mappings and settings to a file
  849. |:mkvimrc|    :mkv[imrc]    write current mappings and settings to a file
  850. |:mode|        :mod[e]        show or change the screen mode
  851. |:next|        :n[ext]        go to next file in the argument list
  852. |:new|        :new        create a new empty window
  853. |:nmap|        :nm[ap]        like ":map" but for Normal mode
  854. |:nmapclear|    :nmapc[lear]    clear all mappings for Normal mode
  855. |:nnoremap|    :nn[oremap]    like ":noremap" but for Normal mode
  856. |:noremap|    :no[remap]    enter a mapping that will not be remapped
  857. |:noreabbrev|    :norea[bbrev]    enter an abbreviation that will not be
  858.                 remapped
  859. |:normal|    :norm[al]    execute Normal mode commands
  860. |:number|    :nu[mber]    print lines with line number
  861. |:nunmap|    :nun[map]    like ":unmap" but for Normal mode
  862. |:open|        :o[pen]        start open mode (not implemented)
  863. |:only|        :on[ly]        close all windows except current one
  864. |:print|    :p[rint]    print lines
  865. |:pop|        :po[p]        jump to older entry in tag stack
  866. |:preserve|    :pre[serve]    write all text to swap file
  867. |:previous|    :prev[ious]    go to previous file in argument list
  868. |:put|        :pu[t]        insert contents of register in the text
  869. |:pwd|        :pw[d]        print current directory
  870. |:quit|        :q[uit]        quit current window or Vim
  871. |:qall|        :qa[ll]        quit Vim
  872. |:read|        :r[ead]        read file into the text
  873. |:recover|    :rec[over]    recover a file from a swap file
  874. |:redo|        :red[o]        redo one undone change
  875. |:registers|    :reg[isters]    display the contents of registers
  876. |:resize|    :res[ize]    change current window height
  877. |:retab|    :ret[ab]    change tab size
  878. |:rewind|    :rew[ind]    go to the first file in the argument list
  879. |:right|    :ri[ght]    right align text
  880. |:rviminfo|    :rv[iminfo]    read from viminfo file
  881. |:substitute|    :s[ubstitute]    find and replace text
  882. |:sNext|    :sN[ext]    split window and go to previous file in
  883.                 argument list
  884. |:sargument|    :sa[rgument]    split window and go to specific file in
  885.                 argument list
  886. |:sall|        :sal[l]        open a window for each file in argument list
  887. |:sbuffer|    :sb[uffer]    split window and go to specific file in the
  888.                 buffer list
  889. |:sbNext|    :sbN[ext]    split window and go to previous file in the
  890.                 buffer list
  891. |:sball|    :sba[ll]    open a window for each file in the buffer list
  892. |:sblast|    :sbl[ast]    split window and go to last file in buffer
  893.                 list
  894. |:sbmodified|    :sbm[odified]    split window and go to modified file in the
  895.                 buffer list
  896. |:sbnext|    :sbn[ext]    split window and go to next file in the buffer
  897.                 list
  898. |:sbprevious|    :sbp[revious]    split window and go to previous file in the
  899.                 buffer list
  900. |:sbrewind|    :sbr[ewind]    split window and go to first file in the
  901.                 buffer list
  902. |:set|        :se[t]        show or set options
  903. |:shell|    :sh[ell]    escape to a shell
  904. |:sleep|    :sl[eep]    do nothing for a few seconds
  905. |:slast|    :sla[st]    split window and go to last file in the
  906.                 argument list
  907. |:snext|    :sn[ext]    split window and go to next file in the
  908.                 argument list
  909. |:source|    :so[urce]    read Vim or Ex commands from a file
  910. |:split|    :sp[lit]    split current window
  911. |:sprevious|    :spr[evious]    split window and go to previous file in the
  912.                 argument list
  913. |:srewind|    :sr[ewind]    split window and go to first file in the
  914.                 argument list
  915. |:stop|        :st[op]        suspend the editor or escape to a shell
  916. |:stag|        :sta[g]        split window and jump to a tag
  917. |:sunhide|    :sun[hide]    same as ":unhide"
  918. |:suspend|    :sus[pend]    same as ":stop"
  919. |:sview|    :sv[iew]    split window and edit file read-only
  920. |:swapname|    :sw[apname]    show the name of the current swap file
  921. |:t|        :t        same as ":copy"
  922. |:tag|        :ta[g]        jump to tag
  923. |:tags|        :tags        show the contents of the tag stack
  924. |:undo|        :u[ndo]        undo last change(s)
  925. |:unabbreviate|    :una[bbreviate]    remove abbreviation
  926. |:unhide|    :unh[ide]    open a window for each loaded file in the
  927.                 buffer list
  928. |:unmap|    :unm[ap]    remove mapping
  929. |:version|    :ve[rsion]    print version number and other info
  930. |:vglobal|    :v[global]    execute commands for not matching lines
  931. |:visual|    :vi[sual]    same as ":edit"
  932. |:view|        :vie[w]        edit a file read-only
  933. |:vmap|        :vm[ap]        like ":map" but for Visual mode
  934. |:vmapclear|    :vmapc[lear]    remove all mappings for Visual mode
  935. |:vnoremap|    :vn[oremap]    like ":noremap" but for Visual mode
  936. |:vunmap|    :vu[nmap]    like ":unmap" but for Visual mode
  937. |:write|    :w[rite]    write to a file
  938. |:wNext|    :wN[ext]    write to a file and go to previous file in
  939.                 argument list
  940. |:wall|        :wa[ll]        write all (changed) buffers
  941. |:wnext|    :wn[ext]    write to a file and go to next file in
  942.                 argument list
  943. |:wprevious|    :wp[revious]    write to a file and go to previous file in
  944.                 argument list
  945. |:wq|        :wq        write to a file and quit window or Vim
  946. |:wqall|    :wqa[ll]    write all changed buffers and quit Vim
  947. |:wviminfo|    :wv[iminfo]    write to viminfo file
  948. |:xit|        :x[it]        write if buffer changed and quit window or Vim
  949. |:xall|        :xa[ll]        same as ":wqall"
  950. |:yank|        :y[ank]        yank lines into a register
  951. |:z|        :z        print some lines (not implemented)
  952. |:~|        :~        repeat last ":substitute"
  953.