diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-09-06 22:12:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-09-06 22:12:34 +0200 |
commit | 64d8e25bf6efe5f18b032563521c3ce278c316ab (patch) | |
tree | 6f91d8b81c77b1fc98b09e929b4bb0313f358dee /runtime/ftplugin | |
parent | 6384c5db8dda70076c878d393ba19a1510695228 (diff) | |
download | vim-git-64d8e25bf6efe5f18b032563521c3ce278c316ab.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/python.vim | 10 | ||||
-rw-r--r-- | runtime/ftplugin/scala.vim | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/runtime/ftplugin/python.vim b/runtime/ftplugin/python.vim index df5dab8af..e2d290d1a 100644 --- a/runtime/ftplugin/python.vim +++ b/runtime/ftplugin/python.vim @@ -2,7 +2,7 @@ " Language: python " Maintainer: James Sully <sullyj3@gmail.com> " Previous Maintainer: Johannes Zellner <johannes@zellner.org> -" Last Change: Wed, 29 June 2016 +" Last Change: Fri, 02 September 2016 " https://github.com/sullyj3/vim-ftplugin-python if exists("b:did_ftplugin") | finish | endif @@ -22,10 +22,10 @@ setlocal omnifunc=pythoncomplete#Complete set wildignore+=*.pyc -nnoremap <silent> <buffer> ]] :call <SID>Python_jump('n', '\v%$\|^(class\|def)>', 'W')<cr> -nnoremap <silent> <buffer> [[ :call <SID>Python_jump('n', '\v^(class\|def)>', 'Wb')<cr> -nnoremap <silent> <buffer> ]m :call <SID>Python_jump('n', '\v%$\|^\s*(class\|def)>', 'W')<cr> -nnoremap <silent> <buffer> [m :call <SID>Python_jump('n', '\v^\s*(class\|def)>', 'Wb')<cr> +noremap <silent> <buffer> ]] :call <SID>Python_jump('n', '\v%$\|^(class\|def)>', 'W')<cr> +noremap <silent> <buffer> [[ :call <SID>Python_jump('n', '\v^(class\|def)>', 'Wb')<cr> +noremap <silent> <buffer> ]m :call <SID>Python_jump('n', '\v%$\|^\s*(class\|def)>', 'W')<cr> +noremap <silent> <buffer> [m :call <SID>Python_jump('n', '\v^\s*(class\|def)>', 'Wb')<cr> xnoremap <silent> <buffer> ]] :call <SID>Python_jump('x', '\v%$\|^(class\|def)>', 'W')<cr> xnoremap <silent> <buffer> [[ :call <SID>Python_jump('x', '\v^(class\|def)>', 'Wb')<cr> diff --git a/runtime/ftplugin/scala.vim b/runtime/ftplugin/scala.vim index e40995010..18e16f1d5 100644 --- a/runtime/ftplugin/scala.vim +++ b/runtime/ftplugin/scala.vim @@ -32,6 +32,4 @@ setlocal includeexpr='substitute(v:fname,"\\.","/","g")' setlocal path+=src/main/scala,src/test/scala setlocal suffixesadd=.scala -compiler sbt - " vim:set sw=2 sts=2 ts=8 et: |