[vim] <Leader>b to better brace matching

Jumps to the end of the line and then does the matching from there.
Saves the extra jump when trying to jump between conditionals that use
braces
This commit is contained in:
Josh Sherman 2017-04-15 12:38:33 -05:00
parent 480175b4b3
commit 29c9ab308a
No known key found for this signature in database
GPG key ID: 55B058A80530EF22

View file

@ -113,6 +113,8 @@ nmap <Leader>j gg
nmap <Leader>k G nmap <Leader>k G
nmap <Leader>l $ nmap <Leader>l $
nmap <Leader>b $%
nnoremap <Leader>[ :bprevious<CR> nnoremap <Leader>[ :bprevious<CR>
nnoremap <Leader>] :bnext<CR> nnoremap <Leader>] :bnext<CR>