Commit Graph

790 Commits

Author SHA1 Message Date
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
haya14busa
969567bbb0 Add TODO 2013-11-04 03:31:38 +09:00
haya14busa
120e8e3c93 Add migemo description to document 2013-10-24 01:06:41 +09:00
haya14busa
d5eb71abf9 Modify Easymotion_use_migemo default value to 0 2013-10-24 00:20:16 +09:00
haya14busa
62c41d6bd5 Now you can use migemo by Easymotion# f, F, t, T function in addition to
Easymotion#S() function
2013-10-24 00:18:08 +09:00
haya14busa
eed78b4283 cosmetic change & refactoring 2013-10-24 00:13:49 +09:00
haya14busa
ce53296016 Fix EOL bug 2013-10-23 23:49:47 +09:00
haya14busa
47e12eaf6a Fix Multibyte hundling! 2013-10-23 23:26:50 +09:00
haya14busa
78fe0b2d14 [WIP]Fix multibyte hundling 2013-10-23 20:28:48 +09:00
haya14busa
e410821867 add Easymoton_use_migemo 2013-10-12 13:05:53 +09:00
haya14busa
bafa29fee7 support migemo but it'll take too long time 2013-10-12 12:58:29 +09:00
haya14busa
e55df4c7ed Update doc 2013-10-09 21:59:33 +09:00
haya14busa
4fbffd964d Fixed skipfoldef bug 2013-10-05 13:05:48 +09:00
haya14busa
f109537d31 Feature: don't skip folded line 2013-10-05 12:58:51 +09:00
haya14busa
80255e41c9 updated documents and added SelectPhrasePaste function 2013-10-05 02:34:48 +09:00
haya14busa
630484d7b6 rename condition to flag 2013-10-05 01:12:31 +09:00
haya14busa
f0b9eb8a5e Supported remapping special function's keymap by vimrc 2013-10-05 01:06:34 +09:00
haya14busa
1394c3eba9 Disabled special function by default 2013-10-04 23:32:09 +09:00
haya14busa
8b42c6b372 change smartcase function in SelectPhrase 2013-10-04 23:25:45 +09:00
haya14busa
68fc1d8278 Implmented lazymotion!(smartcase) 2013-10-04 22:45:06 +09:00
haya14busa
a705a81d25 Merge mtth's keep cursor column function(Easymotion_startofline) 2013-10-04 21:25:31 +09:00