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:
parent
1b842507ba
commit
112f4375d4
@ -23,7 +23,8 @@ set cpo&vim
|
||||
" == Default configuration {{{
|
||||
" -- Option ------------------------------ {{{
|
||||
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_shade = get(g: , 'EasyMotion_do_shade' , 1)
|
||||
let g:EasyMotion_grouping = get(g: , 'EasyMotion_grouping' , 1)
|
||||
|
@ -1,7 +1,7 @@
|
||||
"=============================================================================
|
||||
" FILE: t/easymotion_spec.vim
|
||||
" AUTHOR: haya14busa
|
||||
" Last Change: 02 Feb 2014.
|
||||
" Last Change: 06 Feb 2014.
|
||||
" Test: https://github.com/kana/vim-vspec
|
||||
" Refer: https://github.com/rhysd/clever-f.vim
|
||||
" Description: EasyMotion test with vim-vspec
|
||||
@ -440,7 +440,8 @@ describe 'Default settings'
|
||||
|
||||
it 'provide variables to customize EasyMotion'
|
||||
" 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_shade ==# 1
|
||||
Expect g:EasyMotion_grouping ==# 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user