mirror of
https://github.com/amix/vimrc
synced 2025-07-21 20:05:00 +08:00
merge
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! s:map_if_not_mapped(lhs, rhs, mode)
|
||||
function! s:map_if_not_mapped(lhs, rhs, mode) abort
|
||||
let l:unique = s:overwrite ? '' : ' <unique>'
|
||||
if !hasmapto(a:rhs, a:mode)
|
||||
silent! exe a:mode . 'map' . l:unique a:lhs a:rhs
|
||||
|
Reference in New Issue
Block a user