0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

updated for version 7.0196

This commit is contained in:
Bram Moolenaar 2006-02-10 23:11:56 +00:00
parent 3d0a603fa9
commit 06b5db9397
3 changed files with 53 additions and 50 deletions

View File

@ -1226,6 +1226,7 @@ The commands are sorted on the non-optional part of their name.
|:lcd| :lc[d] change directory locally |:lcd| :lc[d] change directory locally
|:lchdir| :lch[dir] change directory locally |:lchdir| :lch[dir] change directory locally
|:lclose| :lcl[ose] close location window |:lclose| :lcl[ose] close location window
|:lcscope| :lcs[cope] like ":cscope" but uses location list
|:left| :le[ft] left align lines |:left| :le[ft] left align lines
|:leftabove| :lefta[bove] make split window appear left or above |:leftabove| :lefta[bove] make split window appear left or above
|:let| :let assign a value to a variable or option |:let| :let assign a value to a variable or option

View File

@ -1,4 +1,4 @@
*map.txt* For Vim version 7.0aa. Last change: 2006 Jan 13 *map.txt* For Vim version 7.0aa. Last change: 2006 Feb 10
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@ -45,42 +45,42 @@ modes.
{lhs} means left-hand-side *{lhs}* {lhs} means left-hand-side *{lhs}*
{rhs} means right-hand-side *{rhs}* {rhs} means right-hand-side *{rhs}*
:map {lhs} {rhs} *:map* :map {lhs} {rhs} |mapmode-nvo| *:map*
:nm[ap] {lhs} {rhs} *:nm* *:nmap* :nm[ap] {lhs} {rhs} |mapmode-n| *:nm* *:nmap*
:vm[ap] {lhs} {rhs} *:vm* *:vmap* :vm[ap] {lhs} {rhs} |mapmode-v| *:vm* *:vmap*
:om[ap] {lhs} {rhs} *:om* *:omap* :om[ap] {lhs} {rhs} |mapmode-o| *:om* *:omap*
:map! {lhs} {rhs} *:map!* :map! {lhs} {rhs} |mapmode-ic| *:map!*
:im[ap] {lhs} {rhs} *:im* *:imap* :im[ap] {lhs} {rhs} |mapmode-i| *:im* *:imap*
:lm[ap] {lhs} {rhs} *:lm* *:lmap* :lm[ap] {lhs} {rhs} |mapmode-l| *:lm* *:lmap*
:cm[ap] {lhs} {rhs} *:cm* *:cmap* :cm[ap] {lhs} {rhs} |mapmode-c| *:cm* *:cmap*
Map the key sequence {lhs} to {rhs} for the modes Map the key sequence {lhs} to {rhs} for the modes
where the map command applies. The result, including where the map command applies. The result, including
{rhs}, is then further scanned for mappings. This {rhs}, is then further scanned for mappings. This
allows for nested and recursive use of mappings. allows for nested and recursive use of mappings.
:no[remap] {lhs} {rhs} *:no* *:noremap* :no[remap] {lhs} {rhs} |mapmode-nvo| *:no* *:noremap*
:nn[oremap] {lhs} {rhs} *:nn* *:nnoremap* :nn[oremap] {lhs} {rhs} |mapmode-n| *:nn* *:nnoremap*
:vn[oremap] {lhs} {rhs} *:vn* *:vnoremap* :vn[oremap] {lhs} {rhs} |mapmode-v| *:vn* *:vnoremap*
:ono[remap] {lhs} {rhs} *:ono* *:onoremap* :ono[remap] {lhs} {rhs} |mapmode-o| *:ono* *:onoremap*
:no[remap]! {lhs} {rhs} *:no!* *:noremap!* :no[remap]! {lhs} {rhs} |mapmode-ic| *:no!* *:noremap!*
:ino[remap] {lhs} {rhs} *:ino* *:inoremap* :ino[remap] {lhs} {rhs} |mapmode-i| *:ino* *:inoremap*
:ln[oremap] {lhs} {rhs} *:ln* *:lnoremap* :ln[oremap] {lhs} {rhs} |mapmode-l| *:ln* *:lnoremap*
:cno[remap] {lhs} {rhs} *:cno* *:cnoremap* :cno[remap] {lhs} {rhs} |mapmode-c| *:cno* *:cnoremap*
Map the key sequence {lhs} to {rhs} for the modes Map the key sequence {lhs} to {rhs} for the modes
where the map command applies. Disallow mapping of where the map command applies. Disallow mapping of
{rhs}, to avoid nested and recursive mappings. Often {rhs}, to avoid nested and recursive mappings. Often
used to redefine a command. {not in Vi} used to redefine a command. {not in Vi}
:unm[ap] {lhs} *:unm* *:unmap* :unm[ap] {lhs} |mapmode-nvo| *:unm* *:unmap*
:nun[map] {lhs} *:nun* *:nunmap* :nun[map] {lhs} |mapmode-n| *:nun* *:nunmap*
:vu[nmap] {lhs} *:vu* *:vunmap* :vu[nmap] {lhs} |mapmode-v| *:vu* *:vunmap*
:ou[nmap] {lhs} *:ou* *:ounmap* :ou[nmap] {lhs} |mapmode-o| *:ou* *:ounmap*
:unm[ap]! {lhs} *:unm!* *:unmap!* :unm[ap]! {lhs} |mapmode-ic| *:unm!* *:unmap!*
:iu[nmap] {lhs} *:iu* *:iunmap* :iu[nmap] {lhs} |mapmode-i| *:iu* *:iunmap*
:lu[nmap] {lhs} *:lu* *:lunmap* :lu[nmap] {lhs} |mapmode-l| *:lu* *:lunmap*
:cu[nmap] {lhs} *:cu* *:cunmap* :cu[nmap] {lhs} |mapmode-c| *:cu* *:cunmap*
Remove the mapping of {lhs} for the modes where the Remove the mapping of {lhs} for the modes where the
map command applies. The mapping may remain defined map command applies. The mapping may remain defined
for other modes where it applies. for other modes where it applies.
@ -89,38 +89,38 @@ modes.
:map @@ foo :map @@ foo
:unmap @@ | print :unmap @@ | print
:mapc[lear] *:mapc* *:mapclear* :mapc[lear] |mapmode-nvo| *:mapc* *:mapclear*
:nmapc[lear] *:nmapc* *:nmapclear* :nmapc[lear] |mapmode-n| *:nmapc* *:nmapclear*
:vmapc[lear] *:vmapc* *:vmapclear* :vmapc[lear] |mapmode-v| *:vmapc* *:vmapclear*
:omapc[lear] *:omapc* *:omapclear* :omapc[lear] |mapmode-o| *:omapc* *:omapclear*
:mapc[lear]! *:mapc!* *:mapclear!* :mapc[lear]! |mapmode-ic| *:mapc!* *:mapclear!*
:imapc[lear] *:imapc* *:imapclear* :imapc[lear] |mapmode-i| *:imapc* *:imapclear*
:lmapc[lear] *:lmapc* *:lmapclear* :lmapc[lear] |mapmode-l| *:lmapc* *:lmapclear*
:cmapc[lear] *:cmapc* *:cmapclear* :cmapc[lear] |mapmode-c| *:cmapc* *:cmapclear*
Remove ALL mappings for the modes where the map Remove ALL mappings for the modes where the map
command applies. {not in Vi} command applies. {not in Vi}
Warning: This also removes the default mappings. Warning: This also removes the default mappings.
:map :map |mapmode-nvo|
:nm[ap] :nm[ap] |mapmode-n|
:vm[ap] :vm[ap] |mapmode-v|
:om[ap] :om[ap] |mapmode-o|
:map! :map! |mapmode-ic|
:im[ap] :im[ap] |mapmode-i|
:lm[ap] :lm[ap] |mapmode-l|
:cm[ap] :cm[ap] |mapmode-c|
List all key mappings for the modes where the map List all key mappings for the modes where the map
command applies. Note that ":map" and ":map!" are command applies. Note that ":map" and ":map!" are
used most often, because they include the other modes. used most often, because they include the other modes.
:map {lhs} *:map_l* :map {lhs} |mapmode-nvo| *:map_l*
:nm[ap] {lhs} *:nmap_l* :nm[ap] {lhs} |mapmode-n| *:nmap_l*
:vm[ap] {lhs} *:vmap_l* :vm[ap] {lhs} |mapmode-v| *:vmap_l*
:om[ap] {lhs} *:omap_l* :om[ap] {lhs} |mapmode-o| *:omap_l*
:map! {lhs} *:map_l!* :map! {lhs} |mapmode-ic| *:map_l!*
:im[ap] {lhs} *:imap_l* :im[ap] {lhs} |mapmode-i| *:imap_l*
:lm[ap] {lhs} *:lmap_l* :lm[ap] {lhs} |mapmode-l| *:lmap_l*
:cm[ap] {lhs} *:cmap_l* :cm[ap] {lhs} |mapmode-c| *:cmap_l*
List the key mappings for the key sequences starting List the key mappings for the key sequences starting
with {lhs} in the modes where the map command applies. with {lhs} in the modes where the map command applies.
{not in Vi} {not in Vi}
@ -218,6 +218,7 @@ to type a count with a zero.
*map-overview* *map-modes* *map-overview* *map-modes*
Overview of which map command works in which mode: Overview of which map command works in which mode:
*mapmode-nvo* *mapmode-n* *mapmode-v* *mapmode-o*
commands: modes: ~ commands: modes: ~
Normal Visual Operator-pending ~ Normal Visual Operator-pending ~
:map :noremap :unmap :mapclear yes yes yes :map :noremap :unmap :mapclear yes yes yes
@ -225,6 +226,7 @@ Overview of which map command works in which mode:
:vmap :vnoremap :vunmap :vmapclear - yes - :vmap :vnoremap :vunmap :vmapclear - yes -
:omap :onoremap :ounmap :omapclear - - yes :omap :onoremap :ounmap :omapclear - - yes
*mapmode-ic* *mapmode-i* *mapmode-c* *mapmode-l*
Insert Command-line Lang-Arg ~ Insert Command-line Lang-Arg ~
:map! :noremap! :unmap! :mapclear! yes yes - :map! :noremap! :unmap! :mapclear! yes yes -
:imap :inoremap :iunmap :imapclear yes - - :imap :inoremap :iunmap :imapclear yes - -

View File

@ -31,7 +31,7 @@
# Move configure aside, autoconf would overwrite it # Move configure aside, autoconf would overwrite it
:move {exist} configure configure.save :move {exist} configure configure.save
:sys autoconf :sys autoconf
:cat configure | :eval re.sub('\\./config.log', 'auto/config.log', stdin) >! auto/configure :cat configure | :eval re.sub('\\./config.log', 'auto/config.log', stdin) | :eval re.sub('>config.log', '>auto/config.log', stdin) >! auto/configure
:chmod 755 auto/configure :chmod 755 auto/configure
:move configure.save configure :move configure.save configure
:del {force} auto/config.cache auto/config.status :del {force} auto/config.cache auto/config.status