summaryrefslogtreecommitdiff
path: root/runtime/ftplugin/vim.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2004-09-13 20:26:32 +0000
committerBram Moolenaar <Bram@vim.org>2004-09-13 20:26:32 +0000
commitc0197e2815208269fa9ba2fba95230138ec39ceb (patch)
tree21db1c3acd16fb095a8e34ce2e15ed87275cbd79 /runtime/ftplugin/vim.vim
parent15d0a8c77dad867b69822e2fd8f9f6bbcf765c48 (diff)
downloadvim-git-c0197e2815208269fa9ba2fba95230138ec39ceb.tar.gz
updated for version 7.0016v7.0016
Diffstat (limited to 'runtime/ftplugin/vim.vim')
-rw-r--r--runtime/ftplugin/vim.vim10
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/ftplugin/vim.vim b/runtime/ftplugin/vim.vim
index 85e74f3f1..fce830e8e 100644
--- a/runtime/ftplugin/vim.vim
+++ b/runtime/ftplugin/vim.vim
@@ -1,7 +1,7 @@
" Vim filetype plugin
" Language: Vim
" Maintainer: Bram Moolenaar <Bram@vim.org>
-" Last Change: 2004 Feb 20
+" Last Change: 2004 Sep 13
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
@@ -33,10 +33,10 @@ endif
setlocal commentstring=\"%s
" Move around functions.
-noremap <silent><buffer> [[ :call search('^\s*fu\%[nction]\>', "bW")<CR>
-noremap <silent><buffer> ]] :call search('^\s*fu\%[nction]\>', "W")<CR>
-noremap <silent><buffer> [] :call search('^\s*endf*\%[unction]\>', "bW")<CR>
-noremap <silent><buffer> ][ :call search('^\s*endf*\%[unction]\>', "W")<CR>
+noremap <silent><buffer> [[ m':call search('^\s*fu\%[nction]\>', "bW")<CR>
+noremap <silent><buffer> ]] m':call search('^\s*fu\%[nction]\>', "W")<CR>
+noremap <silent><buffer> [] m':call search('^\s*endf*\%[unction]\>', "bW")<CR>
+noremap <silent><buffer> ][ m':call search('^\s*endf*\%[unction]\>', "W")<CR>
" Move around comments
noremap <silent><buffer> ]" :call search('^\(\s*".*\n\)\@<!\(\s*"\)', "W")<CR>