mirror of
https://github.com/gryf/python.vim.git
synced 2025-12-17 11:30:22 +01:00
Changed mapping for function
This commit is contained in:
@@ -20,8 +20,8 @@ Default shortcuts are as follows:
|
|||||||
|
|
||||||
- ``]]`` - jump to next class
|
- ``]]`` - jump to next class
|
||||||
- ``[[`` - jump to previous class
|
- ``[[`` - jump to previous class
|
||||||
- ``}}`` - jump to next function or method
|
- ``))`` - jump to next function or method
|
||||||
- ``{[`` - jump to previous function or method
|
- ``((`` - jump to previous function or method
|
||||||
- ``]t`` - jump to beginning of block
|
- ``]t`` - jump to beginning of block
|
||||||
- ``]e`` - jump to end of block
|
- ``]e`` - jump to end of block
|
||||||
- ``]<up>`` - jump to previous line with the same/lower indentation
|
- ``]<up>`` - jump to previous line with the same/lower indentation
|
||||||
|
|||||||
@@ -48,12 +48,12 @@ map ]] :call PythonDec("class", 1)<CR>
|
|||||||
vmap ]] :call PythonDec("class", 1)<CR>
|
vmap ]] :call PythonDec("class", 1)<CR>
|
||||||
|
|
||||||
" jump to previous function
|
" jump to previous function
|
||||||
map {{ :call PythonDec("function", -1)<CR>
|
map (( :call PythonDec("function", -1)<CR>
|
||||||
vmap {{ :call PythonDec("function", -1)<CR>
|
vmap (( :call PythonDec("function", -1)<CR>
|
||||||
|
|
||||||
" jump to next function
|
" jump to next function
|
||||||
map }} :call PythonDec("function", 1)<CR>
|
map )) :call PythonDec("function", 1)<CR>
|
||||||
vmap }} :call PythonDec("function", 1)<CR>
|
vmap )) :call PythonDec("function", 1)<CR>
|
||||||
|
|
||||||
" Menu entries
|
" Menu entries
|
||||||
nmenu <silent> &Python.Update\ IM-Python\ Menu :call UpdateMenu()<CR>
|
nmenu <silent> &Python.Update\ IM-Python\ Menu :call UpdateMenu()<CR>
|
||||||
@@ -73,8 +73,8 @@ nmenu <silent> &Python.Uncomment\ Selection<Tab>]u ]u
|
|||||||
nmenu &Python.-Sep4- :
|
nmenu &Python.-Sep4- :
|
||||||
nmenu <silent> &Python.Previous\ Class<Tab>[[ [[
|
nmenu <silent> &Python.Previous\ Class<Tab>[[ [[
|
||||||
nmenu <silent> &Python.Next\ Class<Tab>]] ]]
|
nmenu <silent> &Python.Next\ Class<Tab>]] ]]
|
||||||
nmenu <silent> &Python.Previous\ Function<Tab>{{ {{
|
nmenu <silent> &Python.Previous\ Function<Tab>{{ ((
|
||||||
nmenu <silent> &Python.Next\ Function<Tab>}} }}
|
nmenu <silent> &Python.Next\ Function<Tab>}} ))
|
||||||
nmenu &Python.-Sep5- :
|
nmenu &Python.-Sep5- :
|
||||||
nmenu <silent> &Python.Select\ Block<Tab>vab vab
|
nmenu <silent> &Python.Select\ Block<Tab>vab vab
|
||||||
nmenu <silent> &Python.Select\ Function<Tab>vaf vaf
|
nmenu <silent> &Python.Select\ Function<Tab>vaf vaf
|
||||||
|
|||||||
Reference in New Issue
Block a user