Skip to content

Commit

Permalink
Fix visual block mode handling in expression mappings
Browse files Browse the repository at this point in the history
So typing I and A in visual block mode works as expected with custom
g:targets_aiAI settings.
  • Loading branch information
wellle committed May 27, 2018
1 parent ab5fbfa commit 2158344
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/targets.vim
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function! targets#e(modifier, original)
elseif mode ==# 'no' " operator pending, from onoremap
let prefix = "call targets#o('"
else
return a:modifier
return a:original
endif

let char1 = nr2char(getchar())
Expand Down

0 comments on commit 2158344

Please sign in to comment.