5 Commits
1.2 ... 1.3

Author SHA1 Message Date
Junegunn Choi
1d9c5ef9a4 fix helptag 2013-05-10 18:11:08 +09:00
Junegunn Choi
b35b11d884 add screencast gif 2013-05-07 23:07:00 +09:00
Junegunn Choi
0ce554c4a5 fix typo 2013-05-07 01:18:24 +09:00
Junegunn Choi
3e5a11c3e6 add installation section 2013-05-07 01:14:46 +09:00
Junegunn Choi
99bc81d492 add === to = group 2013-05-07 01:07:30 +09:00
3 changed files with 18 additions and 3 deletions

View File

@@ -6,8 +6,23 @@ A simple, easy-to-use Vim alignment plugin without too much ambition.
Demo
----
![Screencast](https://raw.github.com/junegunn/vim-easy-align/gif/vim-easy-align.gif)
[Screencast](https://vimeo.com/63506219)
Installation
------------
Either [download zip file](http://www.vim.org/scripts/script.php?script_id=4520)
and extract in ~/.vim or use [Vundle](https://github.com/gmarik/vundle) (recommended)
or [Pathogen](https://github.com/tpope/vim-pathogen).
### With Vundle
```vim
Bundle 'junegunn/vim-easy-align'
```
Usage
-----
@@ -113,7 +128,7 @@ For example, when aligning the following code block,
}
```
we don't want to the comment lines to affect the alignment,
we don't want the comment lines to affect the alignment,
so this is usually what we want.
```

View File

@@ -5,7 +5,7 @@ let g:easy_align_loaded = 1
let s:easy_align_delimiters_default = {
\ ' ': { 'pattern': ' ', 'margin_left': '', 'margin_right': '', 'stick_to_left': 0 },
\ '=': { 'pattern': '<=>\|\(&&\|||\|<<\|>>\)=\|=\~\|=>\|[:+/*!%^=><&|-]\?=',
\ '=': { 'pattern': '===\|<=>\|\(&&\|||\|<<\|>>\)=\|=\~\|=>\|[:+/*!%^=><&|-]\?=',
\ 'margin_left': ' ', 'margin_right': ' ', 'stick_to_left': 0 },
\ ':': { 'pattern': ':', 'margin_left': '', 'margin_right': ' ', 'stick_to_left': 1 },
\ ',': { 'pattern': ',', 'margin_left': '', 'margin_right': ' ', 'stick_to_left': 1 },

View File

@@ -51,7 +51,7 @@ Examples:
EasyAlignRight *EasyAlignRight*
-------------------------------------------------------------------------
*EasyAlignRight* is the right-justified version of EasyAlign command.
EasyAlignRight is the right-justified version of EasyAlign command.
Partial alignment in blockwise-visual mode