Modify detection of <CR>

This commit is contained in:
haya14busa 2014-02-01 13:01:54 +09:00
parent 6521dd8a28
commit 4b06dd6e8b

View File

@ -1,7 +1,7 @@
" EasyMotion - Vim motions on speed! " EasyMotion - Vim motions on speed!
" "
" Author: haya14busa <hayabusa1419@gmail.com> " Author: haya14busa <hayabusa1419@gmail.com>
" Last Change: 27 Jan 2014. " Last Change: 01 Feb 2014.
" Source: https://github.com/haya14busa/vim-easymotion " Source: https://github.com/haya14busa/vim-easymotion
" "
" Original Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com> " Original Author: Kim Silkebækken <kim.silkebaekken+vim@gmail.com>
@ -1136,7 +1136,7 @@ function! s:PromptUser(groups, allows_repeat, fixed_column) "{{{
endif "}}} endif "}}}
" Jump first target when Enter key is pressed "{{{ " Jump first target when Enter key is pressed "{{{
if char ==# ' ' && g:EasyMotion_enter_jump_first == 1 if char ==# "\<CR>" && g:EasyMotion_enter_jump_first == 1
let char = g:EasyMotion_keys[0] let char = g:EasyMotion_keys[0]
endif "}}} endif "}}}