From c9be21f41457dd10979711b3d2410aad17f12ec5 Mon Sep 17 00:00:00 2001 From: haya14busa Date: Thu, 16 Jan 2014 23:37:47 +0900 Subject: [PATCH] Rename (easymotion-previous) to (easymotion-prev) --- doc/easymotion.txt | 4 ++-- plugin/EasyMotion.vim | 4 ++-- t/easymotion_spec.vim | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/easymotion.txt b/doc/easymotion.txt index fa42e6d..e4e9e4a 100644 --- a/doc/easymotion.txt +++ b/doc/easymotion.txt @@ -259,7 +259,7 @@ Repeat ~ characters. (easymotion-next) *(easymotion-next)* -(easymotion-previous) *(easymotion-previous)* +(easymotion-prev) *(easymotion-prev)* Jump to next/previous much. Only this motion can be move to offscrren match. This motion wrap around the end of the file if you set @@ -268,7 +268,7 @@ Repeat ~ Example: > nmap ; (easymotion-next) - nmap , (easymotion-previous) + nmap , (easymotion-prev) < EasyMotion dot repeat~ diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index 0c777bd..5fd3e40 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -256,9 +256,9 @@ noremap (easymotion-next) xnoremap (easymotion-next) \ :call EasyMotion#NextPrevious(1,0) -noremap (easymotion-previous) +noremap (easymotion-prev) \ :call EasyMotion#NextPrevious(0,1) -xnoremap (easymotion-previous) +xnoremap (easymotion-prev) \ :call EasyMotion#NextPrevious(1,1) "}}} diff --git a/t/easymotion_spec.vim b/t/easymotion_spec.vim index 44a7dc1..45d6b82 100644 --- a/t/easymotion_spec.vim +++ b/t/easymotion_spec.vim @@ -299,11 +299,11 @@ describe 'Default settings' Expect maparg('(easymotion-next)', 'v') \ ==# ':call EasyMotion#NextPrevious(1,0)' - Expect maparg('(easymotion-previous)', 'n') + Expect maparg('(easymotion-prev)', 'n') \ ==# ':call EasyMotion#NextPrevious(0,1)' - Expect maparg('(easymotion-previous)', 'o') + Expect maparg('(easymotion-prev)', 'o') \ ==# ':call EasyMotion#NextPrevious(0,1)' - Expect maparg('(easymotion-previous)', 'v') + Expect maparg('(easymotion-prev)', 'v') \ ==# ':call EasyMotion#NextPrevious(1,1)' " }}} @@ -965,13 +965,13 @@ end "}}} " Next & Previous {{{ -describe '(easymotion-next) & (easymotion-previous)' +describe '(easymotion-next) & (easymotion-prev)' before new let g:EasyMotion_keys = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' map s (easymotion-s) map ; (easymotion-next) - map , (easymotion-previous) + map , (easymotion-prev) set wrapscan call EasyMotion#init() call AddLine('poge huga hiyo poyo')