mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
vim-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 vim/vim#2102)
63c4e8a198
This commit is contained in:
@@ -438,6 +438,7 @@ When listing mappings the characters in the first two columns are:
|
|||||||
i Insert
|
i Insert
|
||||||
l ":lmap" mappings for Insert, Command-line and Lang-Arg
|
l ":lmap" mappings for Insert, Command-line and Lang-Arg
|
||||||
c Command-line
|
c Command-line
|
||||||
|
t Terminal-Job
|
||||||
|
|
||||||
Just before the {rhs} a special character can appear:
|
Just before the {rhs} a special character can appear:
|
||||||
* indicates that it is not remappable
|
* indicates that it is not remappable
|
||||||
@@ -536,9 +537,9 @@ scenario: >
|
|||||||
:imap <M-C> foo
|
:imap <M-C> foo
|
||||||
:set encoding=utf-8
|
:set encoding=utf-8
|
||||||
The mapping for <M-C> is defined with the latin1 encoding, resulting in a 0xc3
|
The mapping for <M-C> is defined with the latin1 encoding, resulting in a 0xc3
|
||||||
byte. If you type the character <EFBFBD> (0xe1 <M-a>) in UTF-8 encoding this is the
|
byte. If you type the character á (0xe1 <M-a>) in UTF-8 encoding this is the
|
||||||
two bytes 0xc3 0xa1. You don't want the 0xc3 byte to be mapped then or
|
two bytes 0xc3 0xa1. You don't want the 0xc3 byte to be mapped then or
|
||||||
otherwise it would be impossible to type the <EFBFBD> character.
|
otherwise it would be impossible to type the á character.
|
||||||
|
|
||||||
*<Leader>* *mapleader*
|
*<Leader>* *mapleader*
|
||||||
To define a mapping which uses the "mapleader" variable, the special string
|
To define a mapping which uses the "mapleader" variable, the special string
|
||||||
|
@@ -2798,6 +2798,12 @@ return {
|
|||||||
addr_type=ADDR_LINES,
|
addr_type=ADDR_LINES,
|
||||||
func='ex_tag',
|
func='ex_tag',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
command='tmenu',
|
||||||
|
flags=bit.bor(RANGE, NOTADR, ZEROR, EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
||||||
|
addr_type=ADDR_LINES,
|
||||||
|
func='ex_menu',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
command='tmap',
|
command='tmap',
|
||||||
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
||||||
@@ -2810,12 +2816,6 @@ return {
|
|||||||
addr_type=ADDR_LINES,
|
addr_type=ADDR_LINES,
|
||||||
func='ex_mapclear',
|
func='ex_mapclear',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
command='tmenu',
|
|
||||||
flags=bit.bor(RANGE, NOTADR, ZEROR, EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
|
||||||
addr_type=ADDR_LINES,
|
|
||||||
func='ex_menu',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
command='tnext',
|
command='tnext',
|
||||||
flags=bit.bor(RANGE, NOTADR, BANG, TRLBAR, ZEROR),
|
flags=bit.bor(RANGE, NOTADR, BANG, TRLBAR, ZEROR),
|
||||||
@@ -2858,18 +2858,18 @@ return {
|
|||||||
addr_type=ADDR_LINES,
|
addr_type=ADDR_LINES,
|
||||||
func='ex_tag',
|
func='ex_tag',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
command='tunmap',
|
|
||||||
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
|
||||||
addr_type=ADDR_LINES,
|
|
||||||
func='ex_unmap',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
command='tunmenu',
|
command='tunmenu',
|
||||||
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
||||||
addr_type=ADDR_LINES,
|
addr_type=ADDR_LINES,
|
||||||
func='ex_menu',
|
func='ex_menu',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
command='tunmap',
|
||||||
|
flags=bit.bor(EXTRA, TRLBAR, NOTRLCOM, USECTRLV, CMDWIN),
|
||||||
|
addr_type=ADDR_LINES,
|
||||||
|
func='ex_unmap',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
command='undo',
|
command='undo',
|
||||||
flags=bit.bor(RANGE, NOTADR, COUNT, ZEROR, TRLBAR, CMDWIN),
|
flags=bit.bor(RANGE, NOTADR, COUNT, ZEROR, TRLBAR, CMDWIN),
|
||||||
|
Reference in New Issue
Block a user