Junegunn Choi
0db4ea6132
Use virtcol in blockwise visual mode
2015-10-01 19:32:36 +09:00
Junegunn Choi
98e0b493ac
Apply filter option to substrings in blockwise-visual mode
2015-09-16 03:08:08 +09:00
Junegunn Choi
2782c1d0db
Fix <CTRL-P> to toggle liveness when delimiter is not entered ( #44 )
2014-11-30 11:34:32 +09:00
Junegunn Choi
aa1ba68ea0
Retain cursor position after <Plug>(EasyAlign) in visual mode
2014-11-30 02:01:52 +09:00
Junegunn Choi
f6586bad39
<CTRL-P> to switch to live interactive mode ( #44 )
2014-11-30 01:45:27 +09:00
Junegunn Choi
2fa6a040f6
Change option name and shorthand notations
...
- `mode_sequence` (`ms`) -> `align` (`a`)
- `stick_to_left` (`<` / `s01`)
This commit does not break backward compatibility.
`mode_sequence` is still allowed.
2014-07-23 22:15:01 +09:00
Junegunn Choi
a98c1ccc99
Add '#'-rule ( #30 )
...
For Ruby/Python comments. This new '#' rule will only match
'#' characters that are highlighted as comments.
2014-06-20 10:36:37 +09:00
Junegunn Choi
12792cd60f
Simplify tests using Include: directive
2014-01-19 11:32:52 +09:00
Junegunn Choi
6d85e93476
Make repeatable in visual mode
2013-12-06 02:11:57 +09:00
Junegunn Choi
9271fc3f8f
Make visual-operator repeatable ( #24 )
2013-12-05 23:16:33 +09:00
Junegunn Choi
62387b78e0
Fix normal-mode repeat affected by visual-mode operator
2013-12-05 13:36:01 +09:00
Junegunn Choi
da284f908e
<Plug>(EasyAlign) / <Plug>(LiveEasyAlign) for vim-repeat integration
2013-12-01 22:58:13 +09:00
Junegunn Choi
165bda1d95
Add <Plug>(EasyAlignOperator)
2013-11-30 13:04:32 +09:00
Junegunn Choi
3921d0bab3
Fix #20 - Alignment with tabs inserting spaces
2013-11-20 07:27:39 +09:00
Junegunn Choi
2daae46a43
Fix indentation option to work with hard tabs ( #19 )
2013-10-31 12:32:07 +09:00
Junegunn Choi
2b119f9bb6
Fix issue #19 (hard tab indentation)
2013-10-31 11:08:02 +09:00
Junegunn Choi
2832a76cea
Implement filter option ( #16 , #17 )
...
This commit implements filter option which can be used to filter lines within
the range based on the given pattern. The value of filter option should be
either `g/pattern/` or `v/pattern/`. The former aligns lines that match the
pattern, the latter aligns lines that do not match the pattern.
2013-10-27 03:10:04 +09:00
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
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
831cecdaf2
Implement g:easy_align_bypass_fold switch ( #14 ) with a small fix
2013-10-15 23:00:43 +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
7b82a1e496
Fix: right margin sometimes not attached in partial alignment
2013-10-13 02:09:06 +09:00
Junegunn Choi
124654ec46
Update test doc
2013-10-10 12:58:27 +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
aa42666f10
Remove recording-based test for interactive mode
2013-10-10 00:03:21 +09:00