comparison runtime/doc/map.txt @ 838:8e5830943bff v7.0e04

updated for version 7.0e04
author vimboss
date Thu, 20 Apr 2006 22:17:20 +0000
parents 6bb1fa855dc9
children a209672376fd
comparison
equal deleted inserted replaced
837:6bb1fa855dc9 838:8e5830943bff
1 *map.txt* For Vim version 7.0e. Last change: 2006 Apr 19 1 *map.txt* For Vim version 7.0e. Last change: 2006 Apr 20
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
880 :ab[breviate] {lhs} list the abbreviations that start with {lhs} 880 :ab[breviate] {lhs} list the abbreviations that start with {lhs}
881 You may need to insert a CTRL-V (type it twice) to 881 You may need to insert a CTRL-V (type it twice) to
882 avoid that a typed {lhs} is expanded, since 882 avoid that a typed {lhs} is expanded, since
883 command-line abbreviations apply here. 883 command-line abbreviations apply here.
884 884
885 :ab[breviate] {lhs} {rhs} 885 :ab[breviate] [<expr>] {lhs} {rhs}
886 add abbreviation for {lhs} to {rhs}. If {lhs} already 886 add abbreviation for {lhs} to {rhs}. If {lhs} already
887 existed it is replaced with the new {rhs}. {rhs} may 887 existed it is replaced with the new {rhs}. {rhs} may
888 contain spaces. 888 contain spaces.
889 See |:map-<expr>| for the optional <expr> argument.
889 890
890 *:una* *:unabbreviate* 891 *:una* *:unabbreviate*
891 :una[bbreviate] {lhs} Remove abbreviation for {lhs} from the list. If none 892 :una[bbreviate] {lhs} Remove abbreviation for {lhs} from the list. If none
892 is found, remove abbreviations in which {lhs} matches 893 is found, remove abbreviations in which {lhs} matches
893 with the {rhs}. This is done so that you can even 894 with the {rhs}. This is done so that you can even
894 remove abbreviations after expansion. To avoid 895 remove abbreviations after expansion. To avoid
895 expansion insert a CTRL-V (type it twice). 896 expansion insert a CTRL-V (type it twice).
896 897
897 *:norea* *:noreabbrev* 898 *:norea* *:noreabbrev*
898 :norea[bbrev] [lhs] [rhs] 899 :norea[bbrev] [<expr>] [lhs] [rhs]
899 same as ":ab", but no remapping for this {rhs} {not 900 same as ":ab", but no remapping for this {rhs} {not
900 in Vi} 901 in Vi}
901 902
902 *:ca* *:cabbrev* 903 *:ca* *:cabbrev*
903 :ca[bbrev] [lhs] [rhs] same as ":ab", but for Command-line mode only. {not 904 :ca[bbrev] [<expr>] [lhs] [rhs]
905 same as ":ab", but for Command-line mode only. {not
904 in Vi} 906 in Vi}
905 907
906 *:cuna* *:cunabbrev* 908 *:cuna* *:cunabbrev*
907 :cuna[bbrev] {lhs} same as ":una", but for Command-line mode only. {not 909 :cuna[bbrev] {lhs} same as ":una", but for Command-line mode only. {not
908 in Vi} 910 in Vi}
909 911
910 *:cnorea* *:cnoreabbrev* 912 *:cnorea* *:cnoreabbrev*
911 :cnorea[bbrev] [lhs] [rhs] 913 :cnorea[bbrev] [<expr>] [lhs] [rhs]
912 same as ":ab", but for Command-line mode only and no 914 same as ":ab", but for Command-line mode only and no
913 remapping for this {rhs} {not in Vi} 915 remapping for this {rhs} {not in Vi}
914 916
915 *:ia* *:iabbrev* 917 *:ia* *:iabbrev*
916 :ia[bbrev] [lhs] [rhs] same as ":ab", but for Insert mode only. {not in Vi} 918 :ia[bbrev] [<expr>] [lhs] [rhs]
919 same as ":ab", but for Insert mode only. {not in Vi}
917 920
918 *:iuna* *:iunabbrev* 921 *:iuna* *:iunabbrev*
919 :iuna[bbrev] {lhs} same as ":una", but for insert mode only. {not in 922 :iuna[bbrev] {lhs} same as ":una", but for insert mode only. {not in
920 Vi} 923 Vi}
921 924
922 *:inorea* *:inoreabbrev* 925 *:inorea* *:inoreabbrev*
923 :inorea[bbrev] [lhs] [rhs] 926 :inorea[bbrev] [<expr>] [lhs] [rhs]
924 same as ":ab", but for Insert mode only and no 927 same as ":ab", but for Insert mode only and no
925 remapping for this {rhs} {not in Vi} 928 remapping for this {rhs} {not in Vi}
926 929
927 *:abc* *:abclear* 930 *:abc* *:abclear*
928 :abc[lear] Remove all abbreviations. {not in Vi} 931 :abc[lear] Remove all abbreviations. {not in Vi}