mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 11:23:49 -05:00
Update documentation
This commit is contained in:
@@ -291,8 +291,8 @@ since the same can be easily done using the negative N-th parameter: `<Enter>-=`
|
||||
|
||||
### EasyAlign as Vim operator
|
||||
|
||||
With `<Plug>(EasyAlignOperator)` map, EasyAlign command can be used as a Vim
|
||||
operator that can be used with any Vim movement.
|
||||
With `<Plug>(EasyAlignOperator)` map, EasyAlign command becomes a Vim operator
|
||||
that can be used with any Vim movement.
|
||||
|
||||
```vim
|
||||
nmap <leader>a <Plug>(EasyAlignOperator)
|
||||
|
||||
@@ -231,13 +231,13 @@ the selected text in the block, instead of the whole lines in the range.
|
||||
EasyAlign as Vim operator *<Plug>(EasyAlignOperator)*
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
With `<Plug>(EasyAlignOperator)` map, EasyAlign command can be used as a Vim
|
||||
With `<Plug>(EasyAlignOperator)` map, EasyAlign command becomes a Vim
|
||||
operator that can be used with any Vim movement.
|
||||
|
||||
nmap <leader>a <Plug>(EasyAlignOperator)
|
||||
|
||||
Now without going into visual mode, you can align the lines in the paragraph
|
||||
with "<Leader>aip=", "<Leader>aip*|", or "<Leader>aip:".
|
||||
Now without going into visual mode, you can align the lines in the
|
||||
paragraph with "<Leader>aip=", "<Leader>aip*|", or "<Leader>aip:".
|
||||
|
||||
|
||||
Alignment options
|
||||
|
||||
Reference in New Issue
Block a user