Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaoren/vim-gotobracket
Go to unmatched '[' and ']'
https://github.com/chaoren/vim-gotobracket
Last synced: 28 days ago
JSON representation
Go to unmatched '[' and ']'
- Host: GitHub
- URL: https://github.com/chaoren/vim-gotobracket
- Owner: chaoren
- Created: 2020-07-22T18:09:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T21:16:59.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T14:16:39.621Z (2 months ago)
- Language: Vim Script
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go to unmatched '[' and ']'
The same as what `[{` and `]}` does for `{` and `}`, except for `[` and `]`.
## Customization
Use `g:gotobracket_nomap` to disable the default `[r` and `]r` mappings. \
E.g.,```vim
let g:gotobracket_nomap = 1
```Use `GotoOpenBracket` and `GotoCloseBracket` to define your own
mappings. \
E.g.,```vim
nmap [ GotoOpenBracket
nmap ] GotoCloseBracket
xmap [ GotoOpenBracket
xmap ] GotoCloseBracket
omap [ GotoOpenBracket
omap ] GotoCloseBracket
```