We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 61a19c7 commit 968275cCopy full SHA for 968275c
plugin/fall/mapping.vim
@@ -63,7 +63,7 @@ cnoremap <silent> <Plug>(fall-action-select) <Cmd>call fall#action('@select')<CR
63
64
if !get(g:, 'fall_disable_default_mapping')
65
function! s:define(lhs, rhs) abort
66
- if !hasmapto(a:rhs, 'c')
+ if !empty(hasmapto(a:rhs, 'c')) && empty(maparg(a:lhs, 'c'))
67
execute 'cnoremap <silent> <nowait> ' . a:lhs . ' ' . a:rhs
68
endif
69
endfunction
0 commit comments