Improve default value of g:Easymotion_keys

- Use qwerty keys layout by default and this is intuitive and easy to
  type
- Remove uppear case letter because to press Shit is pain and EasyMotion
  shows two label if there are a lot of matches, so it's little problem
  to reduce g:Easymotion_keys
- EasyMotion use last keys as a first key of two label, so I moved `f`,
  `j`, and `;` to last
This commit is contained in:
haya14busa 2014-02-06 21:10:39 +09:00
parent 1b842507ba
commit 112f4375d4
2 changed files with 5 additions and 3 deletions

View File

@ -23,7 +23,8 @@ set cpo&vim
" == Default configuration {{{ " == Default configuration {{{
" -- Option ------------------------------ {{{ " -- Option ------------------------------ {{{
let g:EasyMotion_keys = get(g:, let g:EasyMotion_keys = get(g:,
\ 'EasyMotion_keys', 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ') \ 'EasyMotion_keys', 'asdghklqwertyuiopzxcvbnmfj;')
" \ 'EasyMotion_keys', 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ')
let g:EasyMotion_do_mapping = get(g: , 'EasyMotion_do_mapping' , 1) let g:EasyMotion_do_mapping = get(g: , 'EasyMotion_do_mapping' , 1)
let g:EasyMotion_do_shade = get(g: , 'EasyMotion_do_shade' , 1) let g:EasyMotion_do_shade = get(g: , 'EasyMotion_do_shade' , 1)
let g:EasyMotion_grouping = get(g: , 'EasyMotion_grouping' , 1) let g:EasyMotion_grouping = get(g: , 'EasyMotion_grouping' , 1)

View File

@ -1,7 +1,7 @@
"============================================================================= "=============================================================================
" FILE: t/easymotion_spec.vim " FILE: t/easymotion_spec.vim
" AUTHOR: haya14busa " AUTHOR: haya14busa
" Last Change: 02 Feb 2014. " Last Change: 06 Feb 2014.
" Test: https://github.com/kana/vim-vspec " Test: https://github.com/kana/vim-vspec
" Refer: https://github.com/rhysd/clever-f.vim " Refer: https://github.com/rhysd/clever-f.vim
" Description: EasyMotion test with vim-vspec " Description: EasyMotion test with vim-vspec
@ -440,7 +440,8 @@ describe 'Default settings'
it 'provide variables to customize EasyMotion' it 'provide variables to customize EasyMotion'
" Option {{{ " Option {{{
Expect g:EasyMotion_keys ==# 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' Expect g:EasyMotion_keys ==# 'asdghklqwertyuiopzxcvbnmfj;'
" Expect g:EasyMotion_keys ==# 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
Expect g:EasyMotion_do_mapping ==# 1 Expect g:EasyMotion_do_mapping ==# 1
Expect g:EasyMotion_do_shade ==# 1 Expect g:EasyMotion_do_shade ==# 1
Expect g:EasyMotion_grouping ==# 1 Expect g:EasyMotion_grouping ==# 1