Commit Graph

252 Commits

Author SHA1 Message Date
YggdrasiI
fccf990d42 Remove local prefix 'l:' from let assignments. 2016-02-09 20:08:00 +01:00
YggdrasiI
d9c33fdd32 Remove option g:EasyMotion_maximal_jumpmarks. 2016-02-09 20:06:23 +01:00
YggdrasiI
e790e95834 Remove comments with previous regexes. 2016-02-09 20:03:50 +01:00
YggdrasiI
8a4f00b3a0 -Update regex in EasyMotion#WBW ('W' and 'B' movement)
-Update regex in EasyMotion#EW ('E' and 'gE' movement)
- Add global option EasyMotion_maximal_jumpmarks.
 It limits the number of jump targets for the motion. If the search
 goes in both directions, they will be handled separately.
 The option was just added to speed up the automated tests in t/compare_movements_spec.vim.
2016-02-08 19:31:57 +01:00
YggdrasiI
37042d3433 - Change EasyMotion#WBK regex. Should now matches the default Vim motions
b/w.
- Add test to compare different motion algorithm. (WIP. Test trigger
  undetectable vim-vspec error)
2016-02-02 10:48:52 +01:00
haya14busa
b1acf6712d Init with overwin motions
fix #268
2016-01-28 17:57:37 +09:00
haya14busa
799491e007 Fix #237 2016-01-22 09:12:33 +09:00
haya14busa
e777916540 Make sure canceling easymotion with <C-c> fix #237 2016-01-21 19:05:29 +09:00
haya14busa
fc056f37fd fix empty input
ref: https://github.com/easymotion/vim-easymotion/issues/265#issuecomment-173485469
2016-01-21 18:55:22 +09:00
haya14busa
d157c4d1cd Avoid side-effect of calling s:findMotion() in EasyMotion#OverwinF()
s:findMotion() sets s:current.original_position and
EasyMotion#OverwinF() has to reset this var.

fix #265
2016-01-21 15:03:59 +09:00
haya14busa
291d92be70 Merge branch 'overwin' #130 2016-01-19 03:05:40 +09:00
haya14busa
019fc00cba Fix jump back to original view
fix #210
2016-01-18 04:26:41 +09:00
haya14busa
c9cc9ecd64 Merge pull request #241 from somini/master
Introduce verbose option
2016-01-18 03:16:52 +09:00
haya14busa
f306da3966 Fix <Tab> character handling for JK motions
fix #228 #243
2016-01-18 03:05:36 +09:00
haya14busa
656f3425fa Update vital-hit-hint-motion 2016-01-18 02:56:36 +09:00
haya14busa
00fc3281c3 Now, you can move cursor even over/across window
- implement <Plug>(easymotion-overwin-f)
- implement <Plug>(easymotion-overwin-f2)
- TODO:
  - test
  - doc
  - care configuration
2016-01-15 01:03:43 +09:00
somini
a258f4b436 Keep undocumented ignore_exception option
It's used in plugins.
2015-11-16 00:08:34 +00:00
somini
8b0bec6105 Better Throw behaviour
Make sure the exception is thrown, to clean up and do other things, but
show the message only if the verbose option is set.
2015-11-16 00:08:34 +00:00
somini
593479169b Introduce verbose option
Provide a way to silence nagging messages, more appropriate for a debug
situation.
2015-11-16 00:08:34 +00:00
haya14busa
64da988487 fix set hlsearch with g:EasyMotion_add_search_history == 0
https://github.com/easymotion/vim-easymotion/issues/139#issuecomment-128277980
2015-08-06 17:12:05 +09:00
haya14busa
2a2cf14bc7 fix Vim hangs for fold lines fix #235 2015-07-01 09:18:44 +09:00
haya14busa
15fc017ed1 fix spec for bi-directional t motion 2015-06-28 22:57:06 +09:00
haya14busa
b10ed8fcd1 Add experimental API called EasyMotion#go() 2015-06-28 22:51:43 +09:00
haya14busa
b6861684ce Additional config and more intuitive target marge 2015-06-28 22:29:13 +09:00
rhysd
bbae7863dc organization URL 2015-06-22 23:04:30 +09:00
haya14busa
868cd71710 Merge pull request #182 from z0rch/master
fix #181: Next and Prev jumps automatically expand folds
2014-09-29 00:46:10 +09:00
haya14busa
91464bdce4 Improve JK motion regex pattern for multibyte 2014-09-28 16:39:02 +09:00
z0rch
9f1cbd1255 fix #181: Next and Prev jumps automatically expand folds 2014-09-27 17:33:38 +02:00
haya14busa
44499bae25 minor cleanup 2014-09-10 20:15:48 +09:00
haya14busa
fd556fd9de Delete undo file explicitly ref: #174
Thanks: @hokorobi
2014-08-09 17:48:49 +09:00
haya14busa
5cd205a016 Use winrestview() to adjust screen 2014-07-07 17:26:18 +09:00
haya14busa
b0999d6c99 Lint check with vim-lint
- remove unused arguments
- remove unused variables
- explicitly initialize a variable
2014-07-01 00:14:53 +09:00
haya14busa
ccefe1ae84 Remove an unused argument 2014-07-01 00:02:28 +09:00
haya14busa
78ad6d82d3 n & N easymotion which respect previous direction 2014-06-28 17:22:12 +09:00
haya14busa
834f76d279 Fix highlight of second targets with matchaddpos() 2014-06-19 17:45:07 +09:00
haya14busa
70406b717c Reduce lines of code a little 2014-06-19 17:44:20 +09:00
haya14busa
57371aed8f Use matchaddpos() if possible 2014-06-18 12:53:19 +09:00
haya14busa
2d2b597ce3 Fix dot repeat with count
- Solution: Consider into the char on the cursor position while dot repeat.

fix #164
2014-06-12 17:14:04 +09:00
haya14busa
d61f2bdf23 Improve a variable name & add a comment 2014-06-12 16:41:14 +09:00
haya14busa
04788cfa40 Cosmetic change 💄 2014-06-12 16:24:40 +09:00
haya14busa
f524597ce1 Handle EasyMotion exception separating from unexpected one
Conflicts:
	autoload/EasyMotion.vim
2014-06-12 16:24:17 +09:00
haya14busa
cd63e50838 Fix dotrepeat with count
- s:EasyMotion always reset s:flag, s:current
- use for instead of while
2014-06-12 11:50:33 +09:00
haya14busa
47f8bbc121 Remove unused variables 2014-06-12 11:44:07 +09:00
haya14busa
28236c3d47 Next/Previous motions with counts are now jump motions 2014-06-12 10:32:06 +09:00
haya14busa
7a03e86471 Support count of next/previous in visual mode 2014-06-12 10:26:13 +09:00
haya14busa
a01c3d1fd1 Fix g:EasyMotion_skipfoldedline for backward motions 2014-05-06 10:59:46 +09:00
haya14busa
15954d07ca Remove incorrect comment 2014-05-06 10:46:08 +09:00
haya14busa
6453858915 Escape * (asterisc) correctly
- Especially for 2-key find motions
- fix #151
- Thanks @wilywampa
2014-05-06 10:41:54 +09:00
haya14busa
5cc559dbe6 Refactoring shade regexp for witin line. 2014-05-06 08:22:32 +09:00
haya14busa
245035ba51 Save and Restore foldmethod for all method including expr
close #140
2014-05-06 08:22:04 +09:00