Skip to content

Commit

Permalink
Ignore mswin.vim CTRL-A/CTRL-X overrides
Browse files Browse the repository at this point in the history
Closes #26
  • Loading branch information
tpope committed Apr 29, 2021
1 parent fe98cfa commit 95da3d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/speeddating.vim
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for [s:key, s:type] in [['<C-A>', 'Up'], ['<C-X>', 'Down']]
let s:rhs = maparg(s:key, 'n')
if !empty(maparg('<Plug>SpeedDatingFallback'.s:type, 'n'))
continue
elseif s:rhs =~# '^$\|^<Plug>SpeedDating'
elseif s:rhs =~# '^$\|^gggH<C-O>G$\|^"+gP$\|^<Plug>SpeedDating'
exe 'nnoremap <Plug>SpeedDatingFallback'.s:type s:key
else
exe 'nmap <Plug>SpeedDatingFallback'.s:type s:rhs
Expand Down

0 comments on commit 95da3d7

Please sign in to comment.