https://github.com/chaoren/vim-gotobracket
Go to unmatched '[' and ']'
https://github.com/chaoren/vim-gotobracket
Last synced: 4 months 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-26T21:16:59.000Z (over 2 years ago)
- Last Synced: 2025-01-24T18:13:31.523Z (6 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
```