1
0
mirror of https://github.com/gryf/python.vim.git synced 2025-12-17 03:20:19 +01:00

Changed mapping for function

This commit is contained in:
2017-06-04 14:46:08 +02:00
parent e484838bc9
commit fad734d042
2 changed files with 8 additions and 8 deletions

View File

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

View File

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