Update README
This commit is contained in:
parent
f3d122d9b1
commit
8f963a11a3
@ -1,4 +1,4 @@
|
|||||||
# Vim-ArgWrap #
|
# Vim-ArgWrap
|
||||||
|
|
||||||
ArgWrap is an industrial strength argument wrapping and unwrapping extension for the Vim text editor. It can be used for
|
ArgWrap is an industrial strength argument wrapping and unwrapping extension for the Vim text editor. It can be used for
|
||||||
collapsing and expanding everything from function calls to array and dictionary definitions. All operations are easily
|
collapsing and expanding everything from function calls to array and dictionary definitions. All operations are easily
|
||||||
@ -6,7 +6,7 @@ reversible and correctly preserve the indentation of the surrounding code.
|
|||||||
|
|
||||||
![](https://foosoft.net/projects/vim-argwrap/img/demo.gif)
|
![](https://foosoft.net/projects/vim-argwrap/img/demo.gif)
|
||||||
|
|
||||||
## Installation ##
|
## Installation
|
||||||
|
|
||||||
1. Clone or otherwise download ArgWrap extension. Users of [pathogen.vim](https://github.com/tpope/vim-pathogen) can
|
1. Clone or otherwise download ArgWrap extension. Users of [pathogen.vim](https://github.com/tpope/vim-pathogen) can
|
||||||
clone the repository directly to their bundle directory:
|
clone the repository directly to their bundle directory:
|
||||||
@ -23,7 +23,7 @@ reversible and correctly preserve the indentation of the surrounding code.
|
|||||||
nnoremap <silent> <leader>a :ArgWrap<CR>
|
nnoremap <silent> <leader>a :ArgWrap<CR>
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration ##
|
## Configuration
|
||||||
|
|
||||||
You can customize the behavior of this extension by setting values for any of the following optional *buffer* and
|
You can customize the behavior of this extension by setting values for any of the following optional *buffer* and
|
||||||
*global* configuration variables in your `.vimrc` file. Buffer variables (prefixed with `b:`) take precedence over
|
*global* configuration variables in your `.vimrc` file. Buffer variables (prefixed with `b:`) take precedence over
|
||||||
@ -218,7 +218,7 @@ file basis using `ftplugin` or `autocmd`. For example, the `argwrap_tail_comma`
|
|||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage ##
|
## Usage
|
||||||
|
|
||||||
1. Position the cursor *inside* of the scope of the parenthesis, brackets or curly braces you wish to wrap/unwrap (not
|
1. Position the cursor *inside* of the scope of the parenthesis, brackets or curly braces you wish to wrap/unwrap (not
|
||||||
on top, before or after them).
|
on top, before or after them).
|
||||||
|
Loading…
Reference in New Issue
Block a user