mirror of
https://github.com/junegunn/vim-easy-align.git
synced 2025-11-11 19:33:50 -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
|
### EasyAlign as Vim operator
|
||||||
|
|
||||||
With `<Plug>(EasyAlignOperator)` map, EasyAlign command can be used as a Vim
|
With `<Plug>(EasyAlignOperator)` map, EasyAlign command becomes a Vim operator
|
||||||
operator that can be used with any Vim movement.
|
that can be used with any Vim movement.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
nmap <leader>a <Plug>(EasyAlignOperator)
|
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)*
|
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.
|
operator that can be used with any Vim movement.
|
||||||
|
|
||||||
nmap <leader>a <Plug>(EasyAlignOperator)
|
nmap <leader>a <Plug>(EasyAlignOperator)
|
||||||
|
|
||||||
Now without going into visual mode, you can align the lines in the paragraph
|
Now without going into visual mode, you can align the lines in the
|
||||||
with "<Leader>aip=", "<Leader>aip*|", or "<Leader>aip:".
|
paragraph with "<Leader>aip=", "<Leader>aip*|", or "<Leader>aip:".
|
||||||
|
|
||||||
|
|
||||||
Alignment options
|
Alignment options
|
||||||
|
|||||||
Reference in New Issue
Block a user