scriptencoding utf-8 let s:save_cpo = &cpo set cpo&vim let s:emacs = { \ "name" : "KeyMapping_emacs_like" \} function! s:emacs.keymapping(cmdline) return { \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ "\" : { \ "key" : "\", \ "noremap" : 1, \ "lock" : 1, \ }, \ } endfunction function! s:make_emacs() return deepcopy(s:emacs) endfunction let &cpo = s:save_cpo unlet s:save_cpo