diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index 98dc256..a53f434 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -40,8 +40,8 @@ let g:EasyMotion_inc_highlight = get(g: , 'EasyMotion_inc_highlight' , let g:EasyMotion_move_highlight = get(g: , 'EasyMotion_move_highlight' , 1) let g:EasyMotion_landing_highlight = get(g: , 'EasyMotion_landing_highlight' , 0) let g:EasyMotion_cursor_highlight = get(g: , 'EasyMotion_cursor_highlight' , 0) -let g:EasyMotion_add_search_history = get(g: , 'EasyMotion_add_search_history' , 0) -let g:EasyMotion_off_screen_search = get(g: , 'EasyMotion_off_screen_search' , 0) +let g:EasyMotion_add_search_history = get(g: , 'EasyMotion_add_search_history' , 1) +let g:EasyMotion_off_screen_search = get(g: , 'EasyMotion_off_screen_search' , 1) let g:EasyMotion_show_prompt = get(g: , 'EasyMotion_show_prompt' , 1) let g:EasyMotion_prompt = \ get(g: , 'EasyMotion_prompt' , 'Search for {n} character(s): ') diff --git a/t/easymotion_spec.vim b/t/easymotion_spec.vim index 44a1e1d..c51ccdf 100644 --- a/t/easymotion_spec.vim +++ b/t/easymotion_spec.vim @@ -1,7 +1,7 @@ "============================================================================= " FILE: t/easymotion_spec.vim " AUTHOR: haya14busa -" Last Change: 24 Jan 2014. +" Last Change: 01 Feb 2014. " Test: https://github.com/kana/vim-vspec " Refer: https://github.com/rhysd/clever-f.vim " Description: EasyMotion test with vim-vspec @@ -462,8 +462,8 @@ describe 'Default settings' Expect g:EasyMotion_move_highlight ==# 1 Expect g:EasyMotion_landing_highlight ==# 0 Expect g:EasyMotion_cursor_highlight ==# 0 - Expect g:EasyMotion_add_search_history ==# 0 - Expect g:EasyMotion_off_screen_search ==# 0 + Expect g:EasyMotion_add_search_history ==# 1 + Expect g:EasyMotion_off_screen_search ==# 1 Expect g:EasyMotion_prompt ==# 'Search for {n} character(s): ' Expect g:EasyMotion_command_line_key_mappings ==# {} " }}}