Skip to content

Commit

Permalink
Use noremap instead of map. #133
Browse files Browse the repository at this point in the history
  • Loading branch information
dstein64 committed Jul 3, 2024
1 parent 965f105 commit 30ca6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/scrollview.vim
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function! s:SetUpMouseMappings(button, primary) abort
endif
for l:mapmode in ['n', 'v', 'i']
execute printf(
\ 'silent! %smap %s <silent> <%smouse>'
\ 'silent! %snoremap %s <silent> <%smouse>'
\ .. ' <cmd>lua require("scrollview").handle_mouse("%s", %s)<cr>',
\ l:mapmode,
\ l:force ? '' : '<unique>',
Expand Down

0 comments on commit 30ca6e1

Please sign in to comment.