Lines Matching refs:map

108   map x +
428 " GC must not run during map-expr processing, which can make Vim crash.
480 " verbose map
482 \ execute('verbose map ,n')->trim()->split("\n")[1])
484 " map to CTRL-V
489 " map with space at the beginning
554 call assert_fails("exe 'map ' .. repeat('a', 51) .. ' :ls'", 'E474:')
560 " unique map
561 map ,w /[#&!]<CR>
562 call assert_fails("map <unique> ,w /[#&!]<CR>", 'E227:')
563 " unique buffer-local map
564 call assert_fails("map <buffer> <unique> ,w /[.,;]<CR>", 'E225:')
570 " unique buffer-local map
581 " invalid <expr> map
582 map <expr> ,f abc
586 " Recursive use of :normal in a map
588 map gq :normal gq<CR>
618 map ,f /^\k\+ (<CR>
698 " Multiple matches for a map
701 call feedkeys(":map ,\<C-A>\<C-B>\"\<CR>", 'tx')
702 call assert_equal('"map ,f', @:)
726 map a1 /a1
732 map! a7 /a7
737 " Normal + Visual map
738 map a12 /a12
741 " Normal + Selectmode map
742 map a13 /a13
745 " Normal + OpPending map
746 map a14 /a14
748 " Visual + Selectmode map
749 map a15 /a15
752 " Visual + OpPending map
753 map a16 /a16
756 " Selectmode + OpPending map
757 map a17 /a17
760 " Normal + Visual + Selectmode map
761 map a18 /a18
763 " Normal + Visual + OpPending map
764 map a19 /a19
766 " Normal + Selectmode + OpPending map
767 map a20 /a20
769 " Visual + Selectmode + OpPending map
770 map a21 /a21
773 map a22 <Nop>
775 map <script> a23 /a23
777 " Newline in {lhs} and {rhs} of a map
778 exe "map a24\<C-V>\<C-J> ia24\<C-V>\<C-J><Esc>"
787 call assert_equal(['map a1 /a1'], filter(copy(l), 'v:val =~ " a1 "'))
793 call assert_equal(['map! a7 /a7'], filter(copy(l), 'v:val =~ " a7 "'))
817 call assert_equal(['map a22 <Nop>'], filter(copy(l), 'v:val =~ " a22 "'))
819 call assert_equal(["map a24<NL> ia24<NL>\x16\e"],
841 map x y
842 map y x
994 map <F2> <Cmd>call <SID>do_it()<CR>
1401 " Test for using <script> with a map to remap characters in rhs