haya14busa
c6a01fe473
Implement g:Easymotion_add_search_history option
2014-01-23 11:41:43 +09:00
haya14busa
33bf1de0f8
Implement activate function
...
For clever motion & highlight
2014-01-23 11:38:00 +09:00
haya14busa
911f3f5b5c
Fix withinline motion hang up
...
close #7
2014-01-23 11:19:38 +09:00
haya14busa
db36e18922
Fix dot repeat fails when the number of previous target is only 1
...
Rename: s:previous.target -> s:dot_repeat.target
2014-01-22 16:29:38 +09:00
haya14busa
810fbe098a
Refactoring withinline motion
...
Fix: withinline bd-t
2014-01-22 16:29:26 +09:00
haya14busa
d83b9d10d0
Modify EasyMoton#User
2014-01-22 16:27:16 +09:00
haya14busa
2b2c588f39
Modify all function return is_cancelled flag
2014-01-22 14:08:48 +09:00
haya14busa
4ee679fd4a
Merge branch 'feature/hl-cursor' into master
...
Conflicts:
autoload/EasyMotion.vim
2014-01-22 11:17:03 +09:00
haya14busa
16ec2a977e
Implement cursor highlight feature
2014-01-22 11:08:30 +09:00
haya14busa
d9ad959e86
Fix '.' repeat of bidirectional find motion & Note
2014-01-21 17:22:27 +09:00
haya14busa
a0c2b760fe
Implement bidirectional t motion and fix exclusive & inclusive flag
...
Implement: bidirectional t including within line, two-key, multi find
motion.
Fix: misuse of exclusive -> inclusive
Fix: bidirectional find motion inclusive flag
Add: test case for bidirectional t motion
close #6
2014-01-21 11:23:14 +09:00
haya14busa
c2c15d74ab
Merge branch 'feature/inc_highlight' into master
2014-01-21 08:14:44 +09:00
haya14busa
b625144c96
Fix to use move highlight condition
2014-01-21 06:28:04 +09:00
haya14busa
a82d558656
Merge branch 'fix/adjust-prompt' into master
2014-01-21 04:20:25 +09:00
haya14busa
e2539a329b
Implement clever-f like feature
2014-01-20 14:36:50 +09:00
haya14busa
2b5fb62123
Implement & Improve highlight
...
Implement:
- increment highlight
- moving highlight
- cursor highlight
Improve:
- method
- bi-directional shade regexp
2014-01-20 14:36:31 +09:00
haya14busa
bd04f3dad4
Fix typo
2014-01-19 21:21:57 +09:00
haya14busa
99b6d953ab
Fix side effect of overwriting buffer(b:changedtick)
...
Only for tpope/vim-repeat
2014-01-19 21:17:51 +09:00
haya14busa
9e8ea88683
Fix dot repeat motion use previous motion info
...
Problem: Previous motion info is updated by other motion too.
Solution: Store 'dot' previous motion and use it
2014-01-19 21:12:17 +09:00
haya14busa
7faff893e2
Handling 'y' repeat
2014-01-19 17:59:30 +09:00
haya14busa
1cf3f96f3c
Cosmetic
2014-01-18 02:46:48 +09:00
haya14busa
b624c9cec1
Fix '.' repeat with count and trivial
2014-01-18 01:02:37 +09:00
haya14busa
5aa681d9a1
Implement regexp option to multi input find motion
2014-01-17 20:59:41 +09:00
haya14busa
37d8bafd0a
Refactoring: find motion
2014-01-17 19:52:42 +09:00
haya14busa
5bed6b3f9e
Cosmetic: retab to expandtab all and add modeline
2014-01-17 17:39:26 +09:00
haya14busa
5edc6e1a58
Fix&Feature : Consider EasyMotion as jump-motion
...
close #5
2014-01-17 17:20:09 +09:00
haya14busa
6b77811186
Implement next/previous motion like ;
& ,
2014-01-16 23:18:56 +09:00
haya14busa
cb45856d7d
Reset current dictionary
2014-01-16 23:06:01 +09:00
haya14busa
335ea6dac7
Fix typo
2014-01-16 15:57:23 +09:00
haya14busa
c7e1b7c2bf
Implement "." repeat!
...
Require tpope/vim-repeat
2014-01-16 13:36:55 +09:00
haya14busa
762ad9cc17
Merge branch 'refactoring' into master
2014-01-15 22:59:52 +09:00
haya14busa
3df6cd8465
Delete EasyMotion#UserMapping
2014-01-15 22:59:44 +09:00
haya14busa
62a54ce218
Delete line_flag variable and use flag dictionary
2014-01-15 22:59:39 +09:00
haya14busa
b104fbffbe
Check visual mode to adjust screen
2014-01-15 22:36:27 +09:00
haya14busa
32a7e1a8b7
Use is_exclusive instead of mode(1)
2014-01-15 22:32:42 +09:00
haya14busa
b130898848
Rename variable: s:ols to s:previous
2014-01-15 22:23:49 +09:00
haya14busa
0daa6d5ee5
Implement Start of Line JK motion
2014-01-15 10:29:17 +09:00
haya14busa
b1f8ce1aa6
Fix EOL JK motion regrex
2014-01-15 09:11:22 +09:00
haya14busa
9496c64ad5
Merge pull request #2 from takac/master
...
Add end of line mappings to J and K
2014-01-14 16:06:26 -08:00
Tom Cammann
fc34b17c55
Remove default end of line mapping, changed matching regex
2014-01-14 22:58:38 +00:00
haya14busa
3d95505147
Implement multi input migemo and improve it
...
Use koron/cmigemo for multi input.
2014-01-14 17:49:33 +09:00
haya14busa
f4e6cd30f9
Implement last find motion by {find motion}<CR>
...
Fix redraw
2014-01-14 10:44:57 +09:00
Tom Cammann
c72e01e970
Add end of line mappings to J and K
2014-01-14 01:00:06 +00:00
haya14busa
512ecf851a
Improve command_line and move helper function
2014-01-14 08:48:26 +09:00
haya14busa
7ab69a7dc2
Add prompt option
2014-01-14 06:31:31 +09:00
haya14busa
8f6567aff4
Fix GetVisualStartPosition when blockwise visual
2014-01-14 03:58:21 +09:00
haya14busa
67f5afde53
Modify EasyMotion#User
2014-01-14 03:58:21 +09:00
haya14busa
b9ece15e1c
Fix visual mode scroll bug completely!
...
Problem : line('w0') & line('w$') doesn't work correctly in visual mode
Solution : Prepend <ESC> to xnoremap and modify code
Change :
- method of mapping
- use softtab in plugin/EasyMotion.vim
2014-01-14 03:58:15 +09:00
haya14busa
6c656b1f17
Refactoring of find motion for multi key strokes
2014-01-12 21:45:21 +09:00
haya14busa
14d4792180
Implement two (or above) input key find motion
2014-01-11 05:56:41 +09:00
haya14busa
b694591531
Improve handling folded line
...
Skip and jump to end or first of folded line
2014-01-11 00:50:17 +09:00
haya14busa
c06412c525
Skip folded line for migemo check
2014-01-11 00:32:27 +09:00
haya14busa
57183cc368
Check if visible text include multibyte char
2014-01-11 00:06:21 +09:00
haya14busa
e1a0ca2a97
Add maintainer description
2014-01-10 23:21:43 +09:00
haya14busa
9d474722d5
Support migemo & smartsign to SelectPhrase
...
And some refactoring
Escape '[' & ']' in s:findmotion for SelectPhrase
2014-01-10 21:33:21 +09:00
haya14busa
0f4a6438b1
Implement jump first match with Enter option
...
Variable: g:EasyMotion_enter_jump_first
Default: 0 (Off)
Enable: let g:EasyMotion_enter_jump_first = 1
2014-01-09 14:00:06 +09:00
haya14busa
b03263760b
Implement repeat last motion!
...
Description: Repeat last motion(use same regexp)
Mapping: <Plug>(easymotion-repeat)
FIXME: dir arguments is redundant
2014-01-09 14:00:00 +09:00
haya14busa
29a46ae157
Modify and Add missing within line motion
...
Mofify: use s:line_flag and search_stopline
Add : Missing f,F,t,T motion within line
And some refactoring about init & reset functions
2014-01-09 13:46:11 +09:00
haya14busa
aa8d1ef8a6
Fix allows_repeat variable for SelectLines is global
2014-01-09 10:30:51 +09:00
haya14busa
2d93607798
Fix handling visual mode
2014-01-09 06:27:37 +09:00
haya14busa
d4cfdf05bb
Fix refactoring
2014-01-09 05:07:17 +09:00
haya14busa
e9aba3a7f8
Fix restoring undotree in command-line window
2014-01-09 03:01:00 +09:00
haya14busa
2fdfc15c56
Fix lineanywhere motion at visual selection
...
Probrem: line('.') couldn't correctly current position at visual mote
unless get buck normal mode temporarily
2014-01-07 20:29:16 +09:00
haya14busa
4eeae613bc
Flatten indent
2014-01-07 17:02:16 +09:00
haya14busa
9812233fac
Perform refactoring for handling visual mode
2014-01-07 16:17:54 +09:00
haya14busa
49af16d291
Merge branch 'feature/withinline' into master
2014-01-07 10:17:42 +09:00
haya14busa
10e4d19ed2
Fix indent
2014-01-06 13:53:49 +09:00
haya14busa
986119b514
Fix error temporarily when undofile is empty at first edit
...
Solution: execute undobreak if undofile is not readable(maybe once)
Problem : side effect(undo number is incremented)
2014-01-06 13:52:35 +09:00
haya14busa
c6a7c4ff10
Fix undotree
...
Problem : EasyMotion destroy undotree by overwriting buffer text
temporarily
Solution : Use wundo & rundo
Reference: :h wundo
:h rundo
2014-01-06 09:24:32 +09:00
haya14busa
53100fbc61
Implement within Line Motion!
2013-12-29 16:21:37 +09:00
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
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
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
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
0bffa2ddc2
Feature: vim-easymotion-user
2013-12-20 15:04:46 +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
f83bdc1bd5
Change undobreak command
...
This method doesn't depend on vim mode.
2013-12-10 19:38:43 +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
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
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
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
bafa29fee7
support migemo but it'll take too long time
2013-10-12 12:58:29 +09:00
haya14busa
4fbffd964d
Fixed skipfoldef bug
2013-10-05 13:05:48 +09:00