Slide 10
Slide 10 text
Mappings
" From: learnvimscriptthehardway.stevelosh.com/chapters/51.html
function! s:NextSection(type, backwards)
endfunction
noremap <buffer> <silent> ]] :call <SID>NextSection(1, 0)<cr>
noremap <script> <buffer> <silent> [[ :call <SID>NextSection(1, 1)<cr>
noremap <script> <buffer> <silent> ][ :call <SID>NextSection(2, 0)<cr>
noremap <script> <buffer> <silent> [] :call <SID>NextSection(2, 1)<cr>
Wednesday, 30 January 13