Skip to content

Commit

Permalink
Fixes :cabbrev expansion
Browse files Browse the repository at this point in the history
Thanks to this issue:
#9

The <enter> mapping no longer breaks command line abbreviations.
  • Loading branch information
inside committed Dec 2, 2015
1 parent 00b5db0 commit b149601
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions plugin/search_pulse.vim
Expand Up @@ -11,13 +11,6 @@ nnoremap
nnoremap
\ <silent>
\ <SID>Pulse :call search_pulse#Pulse()<cr>
cnoremap
\ <script>
\ <Plug>PulseFirst <SID>PulseFirst
cnoremap
\ <silent>
\ <expr>
\ <SID>PulseFirst search_pulse#PulseFirst()
if get(g:, 'vim_search_pulse_disable_auto_mappings') != 0
finish
Expand All @@ -29,4 +22,4 @@ nmap * *<Plug>Pulse
nmap # #<Plug>Pulse
" Pulses cursor line on first match
" when doing search with / or ?
cmap <enter> <Plug>PulseFirst
cmap <silent> <expr> <enter> search_pulse#PulseFirst()

0 comments on commit b149601

Please sign in to comment.