Commit Graph

460 Commits

Author SHA1 Message Date
haya14busa
652e5985b4 Add small condition to migemo 2013-12-29 14:31:34 +09:00
haya14busa
4c55ab61ac Add smartsign feature like smartcase
Now, you can jump to '!' by '1'.
Option: keyboard layout
    g:EasyMotion_use_smartsign_us
    g:EasyMotion_use_smartsign_jp
2013-12-29 14:29:05 +09:00
haya14busa
9185b1362a Update .gitignore 2013-12-23 01:00:13 +09:00
haya14busa
37e5506b8b Refactoring JumpToAnywhere motion! 2013-12-23 01:00:13 +09:00
haya14busa
fe8d8448cf Refactoring Find motion! 2013-12-23 01:00:07 +09:00
haya14busa
6cb60225bf Fix SelectLine & SelectPhrase behavior
Now cursor jump to second typed position
2013-12-22 20:55:28 +09:00
haya14busa
e5aac13f0b Improve do mapping behavior 2013-12-22 20:49:35 +09:00
haya14busa
5ad98ce6d4 Merge branch 'lazymotion' into master 2013-12-22 00:45:35 +09:00
haya14busa
026ae452d4 Revert "Update document"
This reverts commit 23a84eb408.
2013-12-22 00:44:59 +09:00
haya14busa
0bcb75ba38 Oops 2013-12-22 00:43:29 +09:00
haya14busa
aa0fac362f Improve README 2013-12-22 00:04:26 +09:00
haya14busa
5173b63a32 Update Document drastically!
<Plug> mapping
JumpToAnywhere motion
and others
2013-12-21 23:01:01 +09:00
haya14busa
7e9a922edd Add different flag for Special function mappings 2013-12-21 22:42:48 +09:00
haya14busa
f24d8c5ff2 Prepare missing bidirectional function 2013-12-21 21:29:53 +09:00
haya14busa
530723fc7a Backward compatible mapping for special function 2013-12-21 21:29:27 +09:00
haya14busa
07e1bbd191 Backward compatible mapping 2013-12-21 20:00:37 +09:00
haya14busa
23a84eb408 Update document
Add description about EasyMotion_use_upper feature
2013-12-21 02:42:11 +09:00
haya14busa
552720caf6 Update document
Add description about EasyMotion_use_upper feature
2013-12-21 02:41:27 +09:00
haya14busa
8eb886cea7 Add and fix some comment 2013-12-21 01:46:41 +09:00
haya14busa
dfbc3415a0 Implement uppercase target
Show target label by uppercase letter, but you can type it as lowercase
Make sure g:EasyMotion_keys doesn't include lowercase
2013-12-21 01:45:00 +09:00
haya14busa
cc4c084597 Add and fix some comment 2013-12-21 01:43:16 +09:00
haya14busa
f8078d6939 Implement uppercase target
Show target label by uppercase letter, but you can type it as lowercase
Make sure g:EasyMotion_keys doesn't include lowercase
2013-12-21 01:28:05 +09:00
haya14busa
ab391daf44 Modify global variable
Change them to s: from g: or add prefix to them
2013-12-20 18:33:36 +09:00
haya14busa
942cce2927 Modify global variable
Change them to s: from g: or add prefix to them
2013-12-20 18:31:20 +09:00
haya14busa
d739e65270 Support JumpToAnywhere motion!
You can config this motion by g:EasyMotion_re_anywhere in your vimrc
Example:

    let g:EasyMotion_re_anywhere = '\v(<.|.>|^$)'
2013-12-20 16:55:17 +09:00
haya14busa
ead7164a4b Refactoring EasyMotion#init#InitMappings
Now you can chose do mapping or preparing <Plug> only
2013-12-20 16:55:02 +09:00
haya14busa
0bffa2ddc2 Feature: vim-easymotion-user 2013-12-20 15:04:46 +09:00
haya14busa
4c38b72a1e Prepare <Plug> for extended function 2013-12-19 15:55:31 +09:00
haya14busa
66480855da Support <Plug> mappings
Delete: g:variable mappings
2013-12-19 02:58:51 +09:00
haya14busa
7715fc0caf Fix: autoload script is loaded when vim starting
Solution: Use autoload/EasyMotion/init.vim to call init functions
2013-12-18 22:41:31 +09:00
haya14busa
e707333290 Change s:migemo_dicts location 2013-12-18 22:39:41 +09:00
haya14busa
8a897c58f0 Use save cpo options in autoload/ too 2013-12-18 21:42:56 +09:00
haya14busa
c38978a50f Update TODO 2013-12-18 21:35:42 +09:00
haya14busa
f75689e554 Use cpo save
:h use-cpo-save
2013-12-18 21:33:03 +09:00
haya14busa
f83bdc1bd5 Change undobreak command
This method doesn't depend on vim mode.
2013-12-10 19:38:43 +09:00
haya14busa
2b1bc28fb2 Prepare <Plug> mapping(S only)
Note: currently it is only EasyMotion S function
2013-11-28 16:28:36 +09:00
haya14busa
e319902b9a Compensate deleted lines
When you delete lines above current cursor position by SelectLines or
SelectPhrase, restoring cursor position didn't work intuitively

this commit fix this problem
2013-11-27 23:36:43 +09:00
haya14busa
3baa549b64 Break undo history
Make undo behavior after using easymotion in operator pending mode
(or SelectLinesDelete function) consistent with Vim's default

Problem and how to reproduce:

1. `exec normal! "i{text}<C-[>"` or something
2. Call `Easymotion#SelectLinesDelete()` or `d<Leader><Leader>s{target}`
3. type `u`

In this case, undo should restore second operation only, but it restored
first operation in addition to second one because undojoin command is
called in SetLines() function.

This commit fix this problem.
2013-11-27 21:23:10 +09:00
haya14busa
041883bb9a Add SelectPhraseDelete 2013-11-27 19:30:24 +09:00
Joey Liu
f862310910 Add Easymotion#SelectLinesDelete based on Joey Liu works
and fix normal to normal!

-----
added new mapping for selectlines

now dl will preserve current position for easier paste

Conflicts:
	autoload/EasyMotion.vim
2013-11-27 18:53:57 +09:00
haya14busa
20ff95da05 Update .gitignore 2013-11-27 13:24:38 +09:00
haya14busa
18f51f0699 Delete special Paste functions
EasyMotion#SelectLinesPaste() &  EasyMotion#SelectPhrasePaste() conflict
with vim default 'p' function. If enable this function, you cannot
execute vim default 'p' smoothly
2013-11-27 13:24:31 +09:00
haya14busa
7ed30f2bac Fix: Handle no match when visual mode 2013-11-14 07:04:18 +09:00
haya14busa
64869ccaf1 Fix visual selection bug
Fix: when visualmode and current cursor position is end of visual
selection, target is double counted in visual selection. This commit fix
this issue.
2013-11-14 06:39:42 +09:00
haya14busa
164dafb53b Update doc
Add yuex's works to credit
2013-11-14 06:08:49 +09:00
haya14busa
59a097877e Fix Visualmode selection bug
now you can use o when visual mode
From : yuex's commit @344b4915ca05efeb59e9acc7159ee69b2ea68602
2013-11-14 05:38:50 +09:00
haya14busa
d78ad4db69 Cosmetic 2013-11-14 04:14:46 +09:00
haya14busa
0cd3711be8 Add Hint to TODO 2013-11-04 15:19:58 +09:00
haya14busa
5c89b3852e Add Todo (vim-easymotion-user) 2013-11-04 04:24:28 +09:00
haya14busa
5e3cd0ac48 TODO -> TODO.md 2013-11-04 03:38:38 +09:00