Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 ']'

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
```