parent
799491e007
commit
b1acf6712d
@ -16,7 +16,12 @@ let s:DIRECTION = { 'forward': 0, 'backward': 1, 'bidirection': 2}
|
|||||||
|
|
||||||
|
|
||||||
" Init: {{{
|
" Init: {{{
|
||||||
|
let s:loaded = s:FALSE
|
||||||
function! EasyMotion#init()
|
function! EasyMotion#init()
|
||||||
|
if s:loaded
|
||||||
|
return
|
||||||
|
endif
|
||||||
|
let s:loaded = s:TRUE
|
||||||
call EasyMotion#highlight#load()
|
call EasyMotion#highlight#load()
|
||||||
" Store previous motion info
|
" Store previous motion info
|
||||||
let s:previous = {}
|
let s:previous = {}
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
let s:V = vital#of('easymotion')
|
let s:V = vital#of('easymotion')
|
||||||
let s:HitAHintMotion = s:V.import('HitAHint.Motion')
|
let s:HitAHintMotion = s:V.import('HitAHint.Motion')
|
||||||
|
|
||||||
|
call EasyMotion#init()
|
||||||
|
|
||||||
function! EasyMotion#overwin#move(pattern) abort
|
function! EasyMotion#overwin#move(pattern) abort
|
||||||
return s:HitAHintMotion.move(a:pattern, {
|
return s:HitAHintMotion.move(a:pattern, {
|
||||||
\ 'keys': g:EasyMotion_keys,
|
\ 'keys': g:EasyMotion_keys,
|
||||||
|
Loading…
Reference in New Issue
Block a user