Commit Graph

229 Commits

Author SHA1 Message Date
haya14busa
8be000a257 Improve multibyte handling especially for g:EasyMotion_key !
Relate: #16
2014-02-20 03:22:25 +09:00
haya14busa
7155f227ef Oops: fix condition 2014-02-19 00:46:36 +09:00
haya14busa
93de27f7bd Add g:EasyMotion_disable_two_key_combo
Set this value 1 if you want to disable two key combo

close #106
2014-02-18 17:52:51 +09:00
haya14busa
2b27e74c2f Improve t/T find motions to match beginning & end of line targets
Including minor refactoring

close #109
2014-02-18 14:02:30 +09:00
haya14busa
3f423c28c9 Improve iskeyword word motions
- Make within line word motion compatible with iskeyword by default
- Add test
- Update doc
- Thanks @yuex: #101
2014-02-18 13:59:07 +09:00
haya14busa
23bb024632 Merge pull request #101 from yuex/iskeyword
make `EasyMotion#WB` and `EasyMotion#E` be consistent with vim's `iskeyword`
2014-02-18 12:55:46 +09:00
Yue Xin
02d4f0fc12 add support for vim's default iskeyword-style word motion' 2014-02-18 11:02:37 +08:00
haya14busa
46606a9cc1 Fix feedkeys() works bad when c operator with search motion
close #107
2014-02-16 15:21:37 +09:00
haya14busa
3980b690bb Merge branch 'handle/avoidhighlight' into master 2014-02-15 00:17:33 +09:00
haya14busa
ff4bdedaa4 Minor improvement of silent_feedkeys() 2014-02-13 11:40:01 +09:00
haya14busa
55063e6868 Improve n-key find motions' consistency with default search
Highlight all the matches after the landing.

Close #100
2014-02-13 11:27:07 +09:00
haya14busa
a31ec1191a Handle avoid Error & MatchParen highlight correctly 2014-02-12 13:33:21 +09:00
haya14busa
f952b61ce7 Improve regexp for search 2014-02-11 01:57:50 +09:00
haya14busa
6ab03b72c2 Improve handling \c and \C 2014-02-10 22:28:10 +09:00
haya14busa
697c05d8bd Merge branch 'fix-highlight-restore-E416' of https://github.com/blueyed/vim-easymotion into blueyed-fix-highlight-restore-E416
close #95 #78

Conflicts:
	autoload/EasyMotion.vim
	autoload/vital/_easymotion/Over/Commandline.vim
2014-02-10 20:40:08 +09:00
haya14busa
37e6297bc4 Fix typo 2014-02-10 20:33:25 +09:00
haya14busa
a944fdf37c Fix illegible highlighting of Error
Solution: Save Error highlight value and turn off temporarily, and restore
          after EasyMotion

close #78
Thanks @LFDM
2014-02-10 20:33:25 +09:00
Daniel Hahler
5cc1303a2d multibyte: use matchstr instead of byte index
Ref: https://github.com/Lokaltog/vim-easymotion/issues/16
2014-02-10 08:32:01 +01:00
haya14busa
7424110be8 Revert "Fix illegible highlighting of Error"
This reverts commit dd13757c40.
2014-02-10 15:46:59 +09:00
Daniel Hahler
c8c9dfd3bf Do not match newlines in highlight output
Without this, `links to Foo` might be included, which results in an
error, when throwing that into a call to `highlight` to restore it.

The proper fix would be to restore it as `highlight link Cursor|Error
FooLink`, but that requires refactoring, since the return value for
`hl_cursor_off`/`turn_off_hl_error` is used as a definition also.

Fixes https://github.com/osyo-manga/vital-over/issues/23
Fixes https://github.com/Lokaltog/vim-easymotion/issues/95
2014-02-10 01:55:05 +01:00
haya14busa
dd13757c40 Fix illegible highlighting of Error
Solution: Save Error highlight value and turn off temporarily, and restore
          after EasyMotion

close #78
Thanks @LFDM
2014-02-07 10:33:35 +09:00
haya14busa
2c75f4f462 Modify regexp of visual mode 2014-02-07 02:17:56 +09:00
haya14busa
525b008695 Modify should_use_smartcase to should_case_sensitive
Take into account &ignorecase and &smartcase for n key find motion to be
consistent with vim default search
2014-02-06 22:12:52 +09:00
haya14busa
9ad2b5b986 Implement g:EasyMotion_space_jump_first
Description: If you set this value 1, you can jump to first match by
             pressing space when prompt target label. <Space> key
             version of g:EasyMotion_enter_jump_first
Default: 0
2014-02-06 21:26:39 +09:00
LFDM
2fbe70aa34 Deletes an obsolete function
Has been moved to the helpers file in the past
2014-02-05 21:11:06 +01:00
haya14busa
cb0ba2563d Oops 2014-02-05 23:15:57 +09:00
haya14busa
8a11e55e60 Improve highlight 2014-02-05 16:06:47 +09:00
haya14busa
949448ec24 Move highlight to autoload/ from plugin/ 2014-02-05 15:18:25 +09:00
haya14busa
a45cee4b42 Improve highlight & speed
Including Cosmetic change
2014-02-04 17:31:55 +09:00
haya14busa
8e4ec37037 Fix to use global variable for highlight group 2014-02-04 17:31:55 +09:00
haya14busa
a3379ce3cb Modify author description 2014-02-02 02:26:06 +09:00
haya14busa
733d5a1bde Merge branch 'master' into adjust/lokaltog 2014-02-02 02:11:10 +09:00
haya14busa
f5fd47968e Merge branch 'feature/vital-over' into master 2014-02-02 02:03:39 +09:00
haya14busa
b368309fb3 Modify to use vital-over for commandline of find motion
Add buffer completion, paste and mapping feature
2014-02-02 02:02:26 +09:00
haya14busa
4b06dd6e8b Modify detection of <CR> 2014-02-01 13:03:46 +09:00
haya14busa
5b2b33f36e Completely remove special function: SelectLines & SelectPhrase 2014-01-31 16:59:28 +09:00
haya14busa
6025c757d4 Fix: space 2014-01-27 21:47:10 +09:00
haya14busa
db1e6a6a91 Find motion: Convert space to start of spaces 2014-01-27 21:42:55 +09:00
haya14busa
2f9147321b Move some should_use_ function to helper 2014-01-26 22:58:00 +09:00
haya14busa
fb419c288d Improve histadd 2014-01-26 22:58:00 +09:00
haya14busa
ff15dabea7 Improve find motion scroll 2014-01-24 01:06:21 +09:00
haya14busa
1124db2edd Improve cursor & shade regexp 2014-01-24 01:03:48 +09:00
haya14busa
7f8c3ed560 Modify description 2014-01-24 00:59:47 +09:00
haya14busa
5d5fd07500 Merge branch 'feature/offscreen_search' into master 2014-01-23 22:58:49 +09:00
haya14busa
a3b00518d2 Fix typo 2014-01-23 22:56:58 +09:00
haya14busa
0d39901b11 Implement scroll to find motion cmd line 2014-01-23 22:53:58 +09:00
haya14busa
f00b912940 Implement 'n' key motion offscreen search!
Including some refactoring
    - s:Easymotion function
        - handling original & cursor position
    - autoload/EasyMotion/command_line.vim
    - s:Getvisualstartposition function
2014-01-23 11:47:31 +09:00
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