Skip to content

Commit

Permalink
Clear unwanted characters in nmap
Browse files Browse the repository at this point in the history
  • Loading branch information
airblade committed Jun 2, 2021
1 parent 10998f3 commit d13d58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/gitgutter/hunk.vim
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ function! s:open_hunk_preview_window()
" Assumes cursor is in original window.
autocmd CursorMoved <buffer> ++once call s:close_hunk_preview_window()
if g:gitgutter_close_preview_on_escape
nnoremap <buffer> <silent> <Esc> :call <SID>close_hunk_preview_window()<CR>
nnoremap <buffer> <silent> <Esc> :<C-U>call <SID>close_hunk_preview_window()<CR>
endif

return
Expand Down

0 comments on commit d13d58a

Please sign in to comment.