Commit Graph

333 Commits

Author SHA1 Message Date
Cody Hiar
58fcc31f7b Fixing 256 color codes 2014-12-01 11:30:53 -07:00
haya14busa
5922bb9462 Update vital 2014-11-24 02:07:19 +09:00
haya14busa
868cd71710 Merge pull request #182 from z0rch/master
fix #181: Next and Prev jumps automatically expand folds
2014-09-29 00:46:10 +09:00
haya14busa
91464bdce4 Improve JK motion regex pattern for multibyte 2014-09-28 16:39:02 +09:00
z0rch
9f1cbd1255 fix #181: Next and Prev jumps automatically expand folds 2014-09-27 17:33:38 +02:00
haya14busa
44499bae25 minor cleanup 2014-09-10 20:15:48 +09:00
haya14busa
3b8a2dda5c update vital-over 2014-08-29 00:38:52 +09:00
haya14busa
60cb17b87f Update vital-over: including fix #177 2014-08-28 10:24:43 +09:00
haya14busa
fd556fd9de Delete undo file explicitly ref: #174
Thanks: @hokorobi
2014-08-09 17:48:49 +09:00
haya14busa
b2951b070b Update vital.vim
- Fix loading problem: fix #171
2014-07-24 10:35:19 +09:00
haya14busa
537c2ff01a Update vital & vital-over 2014-07-16 00:43:16 +09:00
haya14busa
5cd205a016 Use winrestview() to adjust screen 2014-07-07 17:26:18 +09:00
haya14busa
b0999d6c99 Lint check with vim-lint
- remove unused arguments
- remove unused variables
- explicitly initialize a variable
2014-07-01 00:14:53 +09:00
haya14busa
ccefe1ae84 Remove an unused argument 2014-07-01 00:02:28 +09:00
haya14busa
78ad6d82d3 n & N easymotion which respect previous direction 2014-06-28 17:22:12 +09:00
haya14busa
834f76d279 Fix highlight of second targets with matchaddpos() 2014-06-19 17:45:07 +09:00
haya14busa
70406b717c Reduce lines of code a little 2014-06-19 17:44:20 +09:00
haya14busa
57371aed8f Use matchaddpos() if possible 2014-06-18 12:53:19 +09:00
haya14busa
2d2b597ce3 Fix dot repeat with count
- Solution: Consider into the char on the cursor position while dot repeat.

fix #164
2014-06-12 17:14:04 +09:00
haya14busa
d61f2bdf23 Improve a variable name & add a comment 2014-06-12 16:41:14 +09:00
haya14busa
04788cfa40 Cosmetic change 💄 2014-06-12 16:24:40 +09:00
haya14busa
f524597ce1 Handle EasyMotion exception separating from unexpected one
Conflicts:
	autoload/EasyMotion.vim
2014-06-12 16:24:17 +09:00
haya14busa
cd63e50838 Fix dotrepeat with count
- s:EasyMotion always reset s:flag, s:current
- use for instead of while
2014-06-12 11:50:33 +09:00
haya14busa
47f8bbc121 Remove unused variables 2014-06-12 11:44:07 +09:00
haya14busa
28236c3d47 Next/Previous motions with counts are now jump motions 2014-06-12 10:32:06 +09:00
haya14busa
7a03e86471 Support count of next/previous in visual mode 2014-06-12 10:26:13 +09:00
haya14busa
d910e4f1a2 Fix cannot input 4 & 7 by workaround 2014-06-07 02:24:29 +09:00
haya14busa
03573c9921 [WIP] couldn't input 4??? 2014-06-07 01:35:19 +09:00
haya14busa
2c4fa0dde2 Revert "Merge branch 'update-vital-over'"
This reverts commit 10a147d534, reversing
changes made to 9f836921d3.
2014-05-30 00:22:13 +09:00
haya14busa
3f240f9cdd Update vital-over 2014-05-23 15:42:08 +09:00
haya14busa
a01c3d1fd1 Fix g:EasyMotion_skipfoldedline for backward motions 2014-05-06 10:59:46 +09:00
haya14busa
15954d07ca Remove incorrect comment 2014-05-06 10:46:08 +09:00
haya14busa
6453858915 Escape * (asterisc) correctly
- Especially for 2-key find motions
- fix #151
- Thanks @wilywampa
2014-05-06 10:41:54 +09:00
haya14busa
5cc559dbe6 Refactoring shade regexp for witin line. 2014-05-06 08:22:32 +09:00
haya14busa
245035ba51 Save and Restore foldmethod for all method including expr
close #140
2014-05-06 08:22:04 +09:00
natnu
270037545c change within_line shade_hl_re 2014-04-20 17:23:57 +09:00
haya14busa
7127b88604 Fix EasyMotion#Sol regexp 2014-04-17 07:35:11 +09:00
haya14busa
aaa159d834 Make JK motions linewise in operator pending
close #141
2014-04-17 07:34:14 +09:00
haya14busa
254205e3c0 Support smartsign feature for 2-key find motions
- Add Test case
- Minor refactoring
- Avoid sourcing test files
2014-03-29 19:01:58 +09:00
haya14busa
b89b8f0d67 Highlight cursor position by default
Modify to highlight cursor waiting key input too
2014-03-21 17:02:26 +09:00
haya14busa
c91a012505 Oops...Remove cmdline.set_suffix() 2014-03-21 16:59:22 +09:00
haya14busa
5302eecff5 Do not modify foldmethod if the value is expr
It seems calculation of `expr` slows down to complete jump
If &foldmethod == 'expr', maybe there are no need to modify values temporarily
2014-03-17 22:12:49 +09:00
haya14busa
79351abae6 Update vital-over 2014-03-15 01:10:32 +09:00
haya14busa
3949408e59 Fix typo 2014-03-03 23:14:37 +09:00
haya14busa
412699d466 Improve <Space> expression 2014-02-26 10:44:52 +09:00
haya14busa
5489d38337 Improve & Refactoring multibyte handling 2014-02-26 10:37:47 +09:00
haya14busa
e1b70995a2 Merge branch 'handle/multibytetargetkey' into master
close #16
2014-02-24 18:13:10 +09:00
haya14busa
f751bfecaf Escape '&' for substitution 2014-02-24 18:11:09 +09:00
haya14busa
a4205c54ac Fix typo 2014-02-22 20:52:56 +09:00
haya14busa
b3d954ddc1 Improve helper#is_folded() 2014-02-22 18:31:13 +09:00
haya14busa
899814e03a Fix to get target_char correctly
Get from marker, modified line, instead of original target line.
2014-02-22 15:52:14 +09:00
haya14busa
2b833f64bd Comment out s:suffix because the test unexpectedly failed 2014-02-21 23:16:50 +09:00
haya14busa
ded514fcd3 Improve type(): avoid the magic numbers 2014-02-21 22:37:54 +09:00
haya14busa
fc502975f7 Improve handling Repeat motions condition 2014-02-21 21:57:32 +09:00
haya14busa
bef3e42328 Fix unexpected message echoed
Problem: use `let` to call function instead of `call`...
update vital-over

close #115
2014-02-21 19:55:23 +09:00
haya14busa
0a35207598 Merge branch 'handle/scrolloff' into master 2014-02-21 18:50:21 +09:00
haya14busa
215163c1b1 Handle scrolloff option when n-key motion
close #110
2014-02-21 18:48:22 +09:00
haya14busa
e2b08d27bf Fix changelist is modified unexpectedly
Problem: changelist is modified by setline()
Solution: Use :h keepjumps
          It seems work as changelist not only jumplist
close #114
Thanks for the report @wilywampa
2014-02-21 16:34:21 +09:00
haya14busa
278028761c Improve by vimlint 2014-02-20 06:29:39 +09:00
haya14busa
bfaf71533c Fix unused variable cnt in DotRepeat 2014-02-20 06:18:49 +09:00
haya14busa
b4d3ac9eac Unify the way to get marker_char from marker_chars 2014-02-20 05:53:00 +09:00
haya14busa
1f065ea5fa Fix multibyte handling for EOL and bland line 2014-02-20 04:28:21 +09:00
haya14busa
ce77606122 Perform refactoring of marker substitution section 2014-02-20 04:04:09 +09:00
haya14busa
93f4849764 Improve readability and add NOTE for multibyte handling 2014-02-20 03:59:46 +09:00
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
ee08b922a5 Use set_prompt() instead of s:cmdline.prompt 2014-02-17 20:52:45 +09:00
haya14busa
f5ec6cba56 Update vital-over
set_prompt & get_prompt
2014-02-17 20:44:26 +09:00
haya14busa
67eab2c5c7 Merge branch 'modify/cmdline' into master 2014-02-17 00:01:09 +09:00
haya14busa
893fc516e0 Update vital-over 2014-02-17 00:00:22 +09: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
ea8da5c03d Remove init.vim 2014-02-13 10:56:38 +09:00
haya14busa
a31ec1191a Handle avoid Error & MatchParen highlight correctly 2014-02-12 13:33:21 +09:00
haya14busa
e27e7d65c4 Handle CSApprox: do not use CSApprox by default
Github: #99 #98 #90 #35 #31
2014-02-12 13:20:57 +09:00
haya14busa
4ded78e697 Fix CSApprox: handling g:CSApprox_loaded #98 2014-02-11 19:03:00 +09:00
haya14busa
263f1cabf1 Workaround fix of guicursor... 2014-02-11 14:17:04 +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
haya14busa
059d2fc008 Merge branch 'improve/cmdline' into master 2014-02-10 19:45:34 +09:00
haya14busa
f929095428 Update vital-over: improve highlight 2014-02-10 19:44:02 +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
haya14busa
ff5a3a7d3d Modify cmdline for vital-over update 2014-02-10 10:34:55 +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
7acbd9996b Update vital-over 2014-02-09 21:21:26 +09:00
haya14busa
9650037041 Merge branch 'improve/commandline' into master 2014-02-08 01:47:44 +09:00
haya14busa
d68151da8d Update vital-over 2014-02-08 01:41:14 +09:00
haya14busa
b82626f614 Fix condition for CSApprox 2014-02-07 16:45:11 +09:00
haya14busa
ff5567fc7e Maybe workaround but it seems to fix handlin CSApprox 2014-02-07 16:06:20 +09:00