Junegunn Choi
1a232ac19b
Revert "Make user confirm regular expression on live interactive mode"
...
This reverts commit a76cfdb8ae .
2013-10-25 02:17:52 +09:00
Junegunn Choi
a76cfdb8ae
Make user confirm regular expression on live interactive mode
2013-10-25 02:11:43 +09:00
Junegunn Choi
c3a7842b0d
Remove a redundant Expect block
2013-10-22 11:24:46 +09:00
Junegunn Choi
3cc564bd68
Do not attach margin_left string before phantom token
2.7.0
2013-10-19 19:49:11 +09:00
Junegunn Choi
6e2264672a
Implement live interactive mode ( #15 )
...
This commit adds LiveEasyAlign command. (The name was chosen not to introduce
ambiguity when typing in only the prefix of the command: e.g. `:EasyA*|`)
In live interactive mode, the selected text is aligned on-the-fly as the user
type in. In order to finalize the alignment, the user has to type in the
same delimiter key again. (Or CTRL-X on regular expressions)
2013-10-19 19:21:23 +09:00
Junegunn Choi
bec3e94383
Log g:easy_align_last_command
2013-10-18 18:05:52 +09:00
Junegunn Choi
7f0fccba0b
Update README
2013-10-15 23:08:16 +09:00
Junegunn Choi
aa62ca4603
Update documentation
2013-10-15 23:07:14 +09:00
Junegunn Choi
831cecdaf2
Implement g:easy_align_bypass_fold switch ( #14 ) with a small fix
2013-10-15 23:00:43 +09:00
Junegunn Choi
37fa908d04
Remove s:max function
...
Sadly function calls are rather slow in Vimscript.
Test shows that this commit reduces the response time by 10%.
2013-10-13 12:16:58 +09:00
Junegunn Choi
256e5b83ab
Remove recursion not to fail in case of many delimiters (> maxfuncdepth)
2013-10-13 03:31:05 +09:00
Junegunn Choi
cb7306341c
Use function() instead of a forwarding function
2013-10-13 02:10:33 +09:00
Junegunn Choi
7b82a1e496
Fix: right margin sometimes not attached in partial alignment
2013-10-13 02:09:06 +09:00
Junegunn Choi
ad2df21039
Add alignment rule for LaTeX tables ( #13 )
2013-10-10 22:15:23 +09:00
Junegunn Choi
4c2808d13c
Relocate operator section
2013-10-10 16:04:48 +09:00
Junegunn Choi
124654ec46
Update test doc
2013-10-10 12:58:27 +09:00
Junegunn Choi
ab4b72addf
Update README
2013-10-10 12:55:00 +09:00
Junegunn Choi
cdc648f5a4
EasyAlign command as Vim operator
2013-10-10 12:51:43 +09:00
Junegunn Choi
438b5312ee
Thoroughly tested
2013-10-10 00:33:32 +09:00
Junegunn Choi
e24f8479a5
Fix invalid test case
2013-10-10 00:19:54 +09:00
Junegunn Choi
9d626dd765
Add test cases for ignore_unmatched behavior
2013-10-10 00:18:52 +09:00
Junegunn Choi
7490aa61d7
Merge pull request #12 from junegunn/vader
...
Testing with Vader.vim
2013-10-09 08:06:51 -07:00
Junegunn Choi
aa42666f10
Remove recording-based test for interactive mode
2013-10-10 00:03:21 +09:00
Junegunn Choi
9951cad2d0
Rename README
2013-10-09 22:18:38 +09:00
Junegunn Choi
cb5041ba67
Merge branch 'master' into vader
2013-10-09 22:18:20 +09:00
Junegunn Choi
7019edb08c
More test cases on Vader
2013-10-09 22:11:03 +09:00
Junegunn Choi
247f69bf3f
Migrate more test cases to Vader
2013-10-09 20:39:17 +09:00
Junegunn Choi
133588b181
Testing with Vader.vim
2013-10-09 20:16:58 +09:00
Junegunn Choi
fb8cf1d54a
Update doc
2013-10-08 10:59:17 +09:00
Junegunn Choi
013fb54dd1
Update documentation
2.6.1
2013-10-07 21:13:17 +09:00
Junegunn Choi
2bf1b2164d
Allow shorthand option notation when using delimiter key
...
e.g. :EasyAlign=l2r2dlmlr**
2013-10-07 21:09:37 +09:00
Junegunn Choi
bab23a1917
Update documentation
2.6.0
2013-10-05 15:55:22 +09:00
Junegunn Choi
fa26fd7b42
Remove option value after every cycle
2013-10-05 15:27:50 +09:00
Junegunn Choi
a4a1e27395
Apply ignore_unmatched option on R/C mode if explicitly set
...
By default, unmatched trailing token from each line is also aligned in
right and center alignment modes unlike in left alignment mode. If
ignore_unmatched option is explicitly set to 1 by user, they will be ignored
even in right/center modes.
2013-10-05 12:23:44 +09:00
Junegunn Choi
98bd9fe6f0
Shorthand notation for ignore_groups/ignore_unmatched
...
e.g. ig['String']iu0
2013-10-04 02:29:24 +09:00
Junegunn Choi
f944f5bf29
Set g:easy_align_last_command
2013-10-04 02:07:35 +09:00
Junegunn Choi
484b4ba5ec
Update doc
2013-10-04 01:50:43 +09:00
Junegunn Choi
9d3afa6206
Merge option values in dictionary and shortcut expression
2013-10-04 01:36:55 +09:00
Junegunn Choi
4c6a8c174d
Implement shortcut expression for options
2013-10-03 21:59:51 +09:00
Junegunn Choi
3304f4e95a
Make <Down> set both left and right margin to zero
...
(Undocumented) <Up> will clear *UP* left_margin, right_margin, and stick_to_left
2013-10-03 16:06:23 +09:00
Junegunn Choi
e4f86274e3
Update install instructions
2.5.1
2013-09-22 23:04:20 +09:00
Junegunn Choi
2d575bcc25
Underscore between parens
2013-09-22 22:56:27 +09:00
Junegunn Choi
8a783c2125
Fix a failure in test due to change in interactive mode
2013-09-22 22:21:23 +09:00
Junegunn Choi
5230a2402f
Disallow 0 as the first character of N-th
2013-09-22 21:58:31 +09:00
Junegunn Choi
94a750e03e
Remove unnecessary prev output wipe
2013-09-22 21:48:14 +09:00
Junegunn Choi
afc95b5ed7
Forgiving interactive mode: Do not terminate on invalid input
2013-09-22 21:17:02 +09:00
Junegunn Choi
1d2c58c06a
Field index -> N-th parameter
2013-09-22 03:52:36 +09:00
Junegunn Choi
4cdc450126
Update DEMO.md
2013-09-21 23:53:47 +09:00
Junegunn Choi
7e1be152dc
Add DEMO.md
2013-09-21 15:46:40 +09:00
Junegunn Choi
c61a11d150
Update doc
...
- Field number -> Field index
2013-09-21 13:08:55 +09:00