From 3949408e594657ad3fa7d1302568acd734b831d4 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 3 Mar 2014 23:08:46 +0900 Subject: [PATCH] Fix typo --- README.md | 2 +- autoload/EasyMotion.vim | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f255a42..b9f407d 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ nmap t (easymotion-t2) ### n-character search motion You can also search for `n` characters, which basically can be used to replace the default search of Vim. -It suports incremental highlighting and you can use `` and `` to scroll down/up a page. If you press +It supports incremental highlighting and you can use `` and `` to scroll down/up a page. If you press `` you get the usual EasyMotion highlighting and can jump to any matching target destination with a single keystroke. diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index 2887ff9..aaeb60c 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -3,7 +3,7 @@ " Author: Kim Silkebækken " haya14busa " Source: https://github.com/Lokaltog/vim-easymotion -" Last Change: 26 Feb 2014. +" Last Change: 03 Mar 2014. "============================================================================= " Saving 'cpoptions' {{{ scriptencoding utf-8 @@ -96,7 +96,7 @@ function! EasyMotion#reset() " start_position: " Original, start cursor position. " cursor_position: - " Usually, this valuse is same with start_position, but in + " Usually, this values is same with start_position, but in " visualmode and 'n' key motion, this value could be different. return "" endfunction "}}} @@ -1111,7 +1111,8 @@ function! s:EasyMotion(regexp, direction, visualmode, is_inclusive) " {{{ keepjumps call cursor(s:current.cursor_position) "}}} " Update s:current.original_position - let s:current.original_position = v_original_pos " overwrite original start positio + " overwrite original start position + let s:current.original_position = v_original_pos endif "}}} " Handle bi-directional t motion {{{