comparison runtime/doc/map.txt @ 12481:bcd9b3e4a5c8 v8.0.1120

patch 8.0.1120: :tm means :tmap instead of :tmenu commit https://github.com/vim/vim/commit/63c4e8a1986796094e6f15b893f2deccdf482617 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 17 20:32:20 2017 +0200 patch 8.0.1120: :tm means :tmap instead of :tmenu Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka) Solution: Move the new entry below the old entry. (closes https://github.com/vim/vim/issues/2102)
author Christian Brabandt <cb@256bit.org>
date Sun, 17 Sep 2017 20:45:04 +0200
parents dfb8254aa735
children d91cf2e26ef0
comparison
equal deleted inserted replaced
12480:0a1a85a06731 12481:bcd9b3e4a5c8
53 :om[ap] {lhs} {rhs} |mapmode-o| *:om* *:omap* 53 :om[ap] {lhs} {rhs} |mapmode-o| *:om* *:omap*
54 :map! {lhs} {rhs} |mapmode-ic| *:map!* 54 :map! {lhs} {rhs} |mapmode-ic| *:map!*
55 :im[ap] {lhs} {rhs} |mapmode-i| *:im* *:imap* 55 :im[ap] {lhs} {rhs} |mapmode-i| *:im* *:imap*
56 :lm[ap] {lhs} {rhs} |mapmode-l| *:lm* *:lmap* 56 :lm[ap] {lhs} {rhs} |mapmode-l| *:lm* *:lmap*
57 :cm[ap] {lhs} {rhs} |mapmode-c| *:cm* *:cmap* 57 :cm[ap] {lhs} {rhs} |mapmode-c| *:cm* *:cmap*
58 :tm[ap] {lhs} {rhs} |mapmode-t| *:tm* *:tmap* 58 :tm[ap] {lhs} {rhs} |mapmode-t| *:tma* *:tmap*
59 Map the key sequence {lhs} to {rhs} for the modes 59 Map the key sequence {lhs} to {rhs} for the modes
60 where the map command applies. The result, including 60 where the map command applies. The result, including
61 {rhs}, is then further scanned for mappings. This 61 {rhs}, is then further scanned for mappings. This
62 allows for nested and recursive use of mappings. 62 allows for nested and recursive use of mappings.
63 63
87 :ou[nmap] {lhs} |mapmode-o| *:ou* *:ounmap* 87 :ou[nmap] {lhs} |mapmode-o| *:ou* *:ounmap*
88 :unm[ap]! {lhs} |mapmode-ic| *:unm!* *:unmap!* 88 :unm[ap]! {lhs} |mapmode-ic| *:unm!* *:unmap!*
89 :iu[nmap] {lhs} |mapmode-i| *:iu* *:iunmap* 89 :iu[nmap] {lhs} |mapmode-i| *:iu* *:iunmap*
90 :lu[nmap] {lhs} |mapmode-l| *:lu* *:lunmap* 90 :lu[nmap] {lhs} |mapmode-l| *:lu* *:lunmap*
91 :cu[nmap] {lhs} |mapmode-c| *:cu* *:cunmap* 91 :cu[nmap] {lhs} |mapmode-c| *:cu* *:cunmap*
92 :tu[nmap] {lhs} |mapmode-t| *:tu* *:tunmap* 92 :tu[nmap] {lhs} |mapmode-t| *:tunma* *:tunmap*
93 Remove the mapping of {lhs} for the modes where the 93 Remove the mapping of {lhs} for the modes where the
94 map command applies. The mapping may remain defined 94 map command applies. The mapping may remain defined
95 for other modes where it applies. 95 for other modes where it applies.
96 Note: Trailing spaces are included in the {lhs}. This 96 Note: Trailing spaces are included in the {lhs}. This
97 unmap does NOT work: > 97 unmap does NOT work: >
427 o Operator-pending 427 o Operator-pending
428 ! Insert and Command-line 428 ! Insert and Command-line
429 i Insert 429 i Insert
430 l ":lmap" mappings for Insert, Command-line and Lang-Arg 430 l ":lmap" mappings for Insert, Command-line and Lang-Arg
431 c Command-line 431 c Command-line
432 t Terminal-Job 432 t Terminal-Job
433 433
434 Just before the {rhs} a special character can appear: 434 Just before the {rhs} a special character can appear:
435 * indicates that it is not remappable 435 * indicates that it is not remappable
436 & indicates that only script-local mappings are remappable 436 & indicates that only script-local mappings are remappable
437 @ indicates a buffer-local mapping 437 @ indicates a buffer-local mapping