mirror of
https://github.com/jiangmiao/auto-pairs.git
synced 2025-04-20 19:28:48 +08:00
update README
This commit is contained in:
parent
9112c538b5
commit
4f55278039
43
README.md
43
README.md
@ -8,36 +8,37 @@ copy plugin/auto-pairs.vim to ~/.vim/plugin
|
||||
|
||||
Features
|
||||
--------
|
||||
### Insert in pair
|
||||
* Insert in pair
|
||||
|
||||
input: [
|
||||
output: [|]
|
||||
input: [
|
||||
output: [|]
|
||||
|
||||
### Delete in pair
|
||||
* Delete in pair
|
||||
|
||||
input: foo[<BS>
|
||||
output: foo
|
||||
input: foo[<BS>
|
||||
output: foo
|
||||
|
||||
### Insert new indented line after Return
|
||||
* Insert new indented line after Return
|
||||
|
||||
input: {|} (press <CR> at |)
|
||||
output: {
|
||||
|
|
||||
}
|
||||
input: {|} (press <CR> at |)
|
||||
output: {
|
||||
|
|
||||
}
|
||||
|
||||
### Skip closed bracket.
|
||||
call feedkeys(
|
||||
input: []
|
||||
output: []
|
||||
* Skip closed bracket.
|
||||
|
||||
### Ignore auto pair when previous character is \
|
||||
input: []
|
||||
output: []
|
||||
|
||||
input: "\'
|
||||
output: "\'"
|
||||
* Ignore auto pair when previous character is \
|
||||
|
||||
### Fast Wrap
|
||||
input: |'hello' (press (<M-e> at|)
|
||||
output: ('hello')
|
||||
input: "\'
|
||||
output: "\'"
|
||||
|
||||
* Fast Wrap
|
||||
|
||||
input: |'hello' (press (<M-e> at|)
|
||||
output: ('hello')
|
||||
|
||||
|
||||
Shortcuts
|
||||
|
Loading…
x
Reference in New Issue
Block a user