Lines Matching refs:lhs
777 " Newline in {lhs} and {rhs} of a map
848 " Test for removing an abbreviation using {rhs} and with space after {lhs}
852 call assert_equal(['foo', 'bar', '!'], [d.lhs, d.rhs, d.mode])
876 call assert_equal(['x\k', 'Test', 'i'], [d.lhs, d.rhs, d.mode])
883 call assert_equal(['x<Bslash>k', 'Test', 'i'], [d.lhs, d.rhs, d.mode])
1025 func s:cmdmap(lhs, rhs) argument
1026 exe 'noremap ' .. a:lhs .. ' <Cmd>' .. a:rhs .. '<CR>'
1027 exe 'noremap! ' .. a:lhs .. ' <Cmd>' .. a:rhs .. '<CR>'
1030 func s:cmdunmap(lhs) argument
1031 exe 'unmap ' .. a:lhs
1032 exe 'unmap! ' .. a:lhs