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:
@@ -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
|
||||
|
Reference in New Issue
Block a user