1
0
forked from aniani/vim

patch 7.4.2209

Problem:    Cannot map <M-">. (Stephen Riehm)
Solution:   Solve the memory access problem in another way. (Dominique Pelle)
            Allow for using <M-\"> in a string.
This commit is contained in:
Bram Moolenaar
2016-08-14 16:07:48 +02:00
parent 2d1a248762
commit 35a4cfa200
9 changed files with 43 additions and 22 deletions

View File

@@ -98,3 +98,11 @@ func Test_break_undo()
call assert_equal('new line here', getline(line('$') - 1))
set nomodified
endfunc
func Test_map_meta_quotes()
imap <M-"> foo
call feedkeys("Go-\<M-\">-\<Esc>", "xt")
call assert_equal("-foo-", getline('$'))
set nomodified
iunmap <M-">
endfunc