Commit Graph

75 Commits

Author SHA1 Message Date
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
Kim Silkebækken
ec17e11e0e Verify that target_hl_id exists 2011-03-30 12:51:28 +02:00
Kim Silkebækken
7655a77d72 Remove unneeded cursor positioning 2011-03-30 12:48:12 +02:00
Kim Silkebækken
87caa8bcaa Move assignment out of while loop 2011-03-30 10:47:11 +02:00
Kim Silkebækken
f24a54d798 Don't run undojoin before each setline() call 2011-03-30 10:43:59 +02:00
Kim Silkebækken
4a2cb09228 Use cursor() instead of setpos() 2011-03-30 10:32:42 +02:00
Kim Silkebækken
01a1091c0f Use attribute 'NONE' instead of 'none'
Windows complains about missing color 'none', this update should fix
that.

Closes #1.
2011-03-29 19:32:20 +02:00
Kim Silkebækken
28405afd2a Speed up searching by moving past folded lines 2011-03-29 17:04:53 +02:00
Kim Silkebækken
1864b1d3fd Improve exception handling 2011-03-29 17:04:19 +02:00
Kim Silkebækken
fea0d68d5a Improve visual selection handling 2011-03-29 17:03:46 +02:00
Kim Silkebækken
b70c94403d Use correct buffer name in VarReset 2011-03-29 17:01:47 +02:00
Kim Silkebækken
05a3fdac64 Remove stray commas 2011-03-29 15:39:25 +02:00
Kim Silkebækken
36e390e76f Update author and source information 2011-03-29 14:10:00 +02:00
Kim Silkebækken
8e2c92d00c Restore visual selection when cancelling F/T motions 2011-03-29 09:10:52 +02:00