Skip to content

Commit ecffdc8

Browse files
committed
Fix nested parens
1 parent 5699ca8 commit ecffdc8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

after/ftplugin/python.vim

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,22 @@ if g:pymode_motion
1111
finish
1212
endif
1313

14-
nnoremap <buffer> ]] :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', '')<CR>
15-
nnoremap <buffer> [[ :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', 'b')<CR>
16-
nnoremap <buffer> ]C :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', '')<CR>
17-
nnoremap <buffer> [C :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', 'b')<CR>
14+
nnoremap <buffer> ]] :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', '')<CR>
15+
nnoremap <buffer> [[ :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', 'b')<CR>
16+
nnoremap <buffer> ]C :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', '')<CR>
17+
nnoremap <buffer> [C :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', 'b')<CR>
1818
nnoremap <buffer> ]M :<C-U>call pymode#motion#move('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', '')<CR>
1919
nnoremap <buffer> [M :<C-U>call pymode#motion#move('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', 'b')<CR>
2020
21-
onoremap <buffer> ]] :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', '')<CR>
22-
onoremap <buffer> [[ :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', 'b')<CR>
23-
onoremap <buffer> ]C :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', '')<CR>
24-
onoremap <buffer> [C :<C-U>call pymode#motion#move('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', 'b')<CR>
21+
onoremap <buffer> ]] :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', '')<CR>
22+
onoremap <buffer> [[ :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', 'b')<CR>
23+
onoremap <buffer> ]C :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', '')<CR>
24+
onoremap <buffer> [C :<C-U>call pymode#motion#move('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', 'b')<CR>
2525
onoremap <buffer> ]M :<C-U>call pymode#motion#move('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', '')<CR>
2626
onoremap <buffer> [M :<C-U>call pymode#motion#move('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', 'b')<CR>
2727
28-
vnoremap <buffer> ]] :call pymode#motion#vmove('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', '')<CR>
29-
vnoremap <buffer> [[ :call pymode#motion#vmove('<Bslash>v^(class<bar>(async<Bslash>s+)<Bslash>=def)<Bslash>s', 'b')<CR>
28+
vnoremap <buffer> ]] :call pymode#motion#vmove('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', '')<CR>
29+
vnoremap <buffer> [[ :call pymode#motion#vmove('^<Bslash>(class<Bslash><bar><Bslash>%(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>)<Bslash>s', 'b')<CR>
3030
vnoremap <buffer> ]M :call pymode#motion#vmove('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', '')<CR>
3131
vnoremap <buffer> [M :call pymode#motion#vmove('^<Bslash>s*<Bslash>(async<Bslash>s<Bslash>+<Bslash>)<Bslash>=def<Bslash>s', 'b')<CR>
3232

0 commit comments

Comments
 (0)