Commit Graph

188 Commits

Author SHA1 Message Date
haya14busa
0daa6d5ee5 Implement Start of Line JK motion 2014-01-15 10:29:17 +09:00
haya14busa
f0969edf65 Change EOL JK motion plug mapping name
<Plug>(easymotion-J) -> <Plug>(easymotion-eol-j)
<Plug>(easymotion-J) -> <Plug>(easymotion-eol-k)
2014-01-15 10:28:29 +09:00
Tom Cammann
fc34b17c55 Remove default end of line mapping, changed matching regex 2014-01-14 22:58:38 +00:00
Tom Cammann
c72e01e970 Add end of line mappings to J and K 2014-01-14 01:00:06 +00:00
haya14busa
4122b8eda5 Merge branch 'feature/mjolvim-motion' into master
Conflicts:
	autoload/EasyMotion.vim
	plugin/EasyMotion.vim
2014-01-14 08:54:16 +09: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
f4a59023da Modify mapping method 2014-01-14 04:29:09 +09:00
haya14busa
cb9d74831e Modify special mapping 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
45ff4bcf31 Fix color for cterm and Add comment 2014-01-12 21:50:23 +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
e1a0ca2a97 Add maintainer description 2014-01-10 23:21:43 +09:00
haya14busa
fb81281dc8 Perform refactoring plug/easymotion.vim and init.vim
Flatten indent and Delete InitOptions function
2014-01-10 23:21:38 +09:00
haya14busa
d0352aacfd Plug support for EasyMotion prefix (leader) key 2014-01-10 19:55:05 +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
53100fbc61 Implement within Line Motion! 2013-12-29 16:21:37 +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
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
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
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
f75689e554 Use cpo save
:h use-cpo-save
2013-12-18 21:33:03 +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
d5eb71abf9 Modify Easymotion_use_migemo default value to 0 2013-10-24 00:20:16 +09:00
haya14busa
e410821867 add Easymoton_use_migemo 2013-10-12 13:05:53 +09:00
haya14busa
f109537d31 Feature: don't skip folded line 2013-10-05 12:58:51 +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
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
haya14busa
73b31f1461 delete EOL spaces 2013-10-04 20:35:22 +09:00
haya14busa
c188210e11 add Easymotion_leader_key to Special mapping 2013-10-03 21:08:06 +09:00
haya14busa
150fd5ce3b add 'S' keymap. Bidirectional word motion 2013-10-03 20:34:50 +09:00
Matthieu Monsch
76c39169ef added g:EasyMotion_startofline option 2013-08-20 22:47:19 -04:00
Supasorn Suwajanakorn
d9661ac7da auto commit 2013-06-03 17:26:16 -07:00
Supasorn Suwajanakorn
be5190f01d Cleanup code, default selectline mapping 2013-06-03 14:24:44 -07:00
Supasorn Suwajanakorn
b2b54c642f auto commit 2013-05-31 11:12:34 -07:00
Supasorn Suwajanakorn
32f8400c5a auto commit 2013-05-31 11:12:11 -07:00
Supasorn Suwajanakorn
3f84f19da4 auto commit 2013-05-31 09:44:05 -07:00
Supasorn Suwajanakorn
eed79f3f43 auto commit 2013-05-30 23:02:16 -07:00
Supasorn Suwajanakorn
bbd92e49c8 auto commit 2013-05-15 19:32:47 -07:00
Supasorn Suwajanakorn
008e81e523 auto commit 2013-05-15 14:05:02 -07:00
Supasorn Suwajanakorn
27a8f3ddb4 auto commit 2013-05-13 22:53:51 -07:00
Supasorn Suwajanakorn
229a190ceb auto commit 2013-05-13 21:43:58 -07:00
HIRAKI Satoru
06826d7c47 fix EasyMotion#InitHL arguments 2011-11-08 01:02:14 +09:00
Kim Silkebækken
c1f1926383 Update default leader key to <Leader><Leader> 2011-11-07 14:34:37 +01:00
Kim Silkebækken
6f0c9b9084 Move most of the code to autoload/
Should make vim startup a bit faster. Thanks to kien for the idea.

Refs #33.
2011-11-07 14:33:20 +01:00
Shougo Matsushita
13017932be Fix CSApprox issue
Closes #31.
2011-06-18 14:16:02 +02:00
Kim Silkebækken
8d7b10d5f3 Add modelines 2011-06-17 22:27:23 +02:00
kearnh
e6cddd5406 Fix jumplist issues
Jumplist is no longer being corrupted, and "easymotions" are placed in
the jumplist (using "mark ''", see :help jumplist).

Closes #30.
2011-06-17 22:23:58 +02:00
Kim Silkebækken
3cd718fa9a Match correct column for lines w/ multibyte chars
When matching columns with vim regexps (\%c), it matches the byte
column, not the display column. This requires that any matches on lines
with multibyte characters compensates for the added byte length of the
multibyte characters. This commit contains a fix for this issue.

Closes #28.
2011-06-17 21:57:25 +02:00
Kim Silkebækken
26c84b7474 Update default highlighting colors 2011-06-01 10:16:03 +02:00
Kim Silkebækken
7f6feae1dc Update default leader key to avoid plugin conflicts 2011-06-01 10:16:03 +02:00
Maxime Bourget
b6b7bca4bb Add EasyMotionSearch function and mapping
Just use the last search to move.

Closes #24.
2011-06-01 10:16:03 +02:00
Kim Silkebækken
e28888f4ad Use first word char as the display target for JK motions
Closes #25.
2011-06-01 10:16:03 +02:00
Kim Silkebækken
7145eb801f Skip empty mappings
Closes #26.
2011-04-30 17:16:05 +02:00
Kim Silkebækken
8df71f9454 Temporarily disable spell checking
Closes #23.
2011-04-20 14:15:31 +02:00
Kim Silkebækken
fcfcf1a6b1 Make it easier to use custom highlighting 2011-04-03 17:23:23 +02:00
Ben Boeckel
0670c87e28 Match empty lines for word and WORD motions 2011-04-03 16:27:01 +02:00
Ben Boeckel
139cc9118a Add motions to just by WORD as well
See

:help /zero-width

for information on the \@<= match atom.
2011-04-03 16:27:01 +02:00
Kim Silkebækken
b53f5910ed Merge branch 'mdhooge-master' into feature/configurable-leader
* mdhooge-master:
  Documentation for leader key option
  Configurable Leader key
2011-04-02 17:17:01 +02:00
Kim Silkebækken
e267452b43 Make everything work with the new tree structured targets 2011-04-02 16:45:21 +02:00
Kim Silkebækken
e68d5b08cd Create function for creating a coord/key lookup dict 2011-04-02 16:30:10 +02:00
Kim Silkebækken
9e69b61e6a Make sure that the key count list is sorted
This is a horrible workaround for unsorted dicts, but it works fine.
2011-04-02 16:27:57 +02:00
Kim Silkebækken
f126bf53ff Add grouping algorithms
Two algorithms are defined:

- Original: The original grouping
- SCTree: Single-key/closest target priority tree
2011-04-02 15:28:27 +02:00
Michel D'HOOGE
762387d6d7 Configurable Leader key 2011-04-02 11:56:01 +02:00
Kim Silkebækken
308aa0a499 Replace hard tabs with spaces to avoid jumping 2011-04-01 10:03:11 +02:00
Kim Silkebækken
62406f4e5a Update comments and code folds 2011-04-01 08:48:33 +02:00
Kim Silkebækken
928ba3f380 Make InitOptions take a dict as its parameter 2011-04-01 08:48:12 +02:00
Kim Silkebækken
c857f35664 Fix "e" operator-pending motion 2011-04-01 08:07:42 +02:00
Kim Silkebækken
22eaadc5e5 Allow customizing all key mappings 2011-04-01 07:46:42 +02:00
Kim Silkebækken
67edbc5323 Fix w, b, e, j, k operator-pending motion behaviors 2011-03-31 22:00:02 +02:00
Kim Silkebækken
5e635015d9 Eat one extra char if in operator-pending mode 2011-03-31 17:18:17 +02:00
Kim Silkebækken
f594a0f948 Merge remote-tracking branch 'fork/nelstrom/feature/operator-pending' into feature/7-operator-pending-mode
* fork/nelstrom/feature/operator-pending:
  Add mappings for operator pending mode.
2011-03-31 16:52:21 +02:00
Drew Neil
77a22591d8 Add mappings for operator pending mode. 2011-03-31 16:18:17 +02:00
Kim Silkebækken
9c11089a4e Merge branch 'hotfix/1.0.12.1' into develop
* hotfix/1.0.12.1:
  Assign default GUI colors correctly
2011-03-31 15:40:12 +02:00
Kim Silkebækken
c9e2c2d49d Assign default GUI colors correctly 2011-03-31 15:39:58 +02:00
Kim Silkebækken
4986a04b9a Set s:var_reset in VarReset function 2011-03-31 14:35:07 +02:00
Kim Silkebækken
a7b7becea4 Reset default highlighting after loading a color scheme
Color schemes use `hi clear`, which clears the EasyMotion syntax
highlighting when a new color scheme is loaded. This change introduces
`autocmd`s which reset the default colors after loading a new color
scheme.

Closes #6.
2011-03-31 13:34:53 +02:00
Kim Silkebækken
c48db22d4c Revert "Speed up searching by moving past folded lines"
This reverts commit 28405afd2a.
2011-03-31 13:13:36 +02:00
Kim Silkebækken
3cb436d203 Create function for index generation
By encapsulating the index generation in a function, the global
namespace doesn't get polluted with temporary variables.
2011-03-31 09:28:02 +02:00
Kim Silkebækken
ed4ed24fd3 Add missing fold markers 2011-03-31 09:27:28 +02:00
Kim Silkebækken
92ef3190bd Add j/k motions 2011-03-30 18:47:02 +02:00
Kim Silkebækken
fd5ed651a0 Check if lines are empty before substituting 2011-03-30 18:46:49 +02:00
Kim Silkebækken
f14c962051 Refactor w/b motions 2011-03-30 18:23:38 +02:00
Kim Silkebækken
6f6d6ce1cf Refactor ge motion 2011-03-30 18:03:48 +02:00
Kim Silkebækken
6074a8c7b1 Merge branch 'mathstuf-dev/add-easy-ge' into develop
* mathstuf-dev/add-easy-ge:
  Add ge motion
2011-03-30 17:58:22 +02:00
Ben Boeckel
2c7065fa26 Add ge motion 2011-03-30 11:54:45 -04:00
Kim Silkebækken
635ffa4dd2 Check compatibility and version 2011-03-30 14:18:39 +02:00
Kim Silkebækken
419af50587 Update var initialization 2011-03-30 13:35:35 +02:00