From 7a5bb2412fc3e327101dd25ca8bff28bb2d5d563 Mon Sep 17 00:00:00 2001 From: Mikael Berthe Date: Fri, 25 Jul 2003 00:00:00 +0000 Subject: [PATCH] Version 1.7: Use instead of 'j', so it should work when j is mapped. --- plugin/python.vim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugin/python.vim b/plugin/python.vim index 678275f..ac6f2de 100644 --- a/plugin/python.vim +++ b/plugin/python.vim @@ -1,8 +1,8 @@ " -*- vim -*- " FILE: python.vim -" LAST MODIFICATION: 2003/06/12 08:19 +" LAST MODIFICATION: 2003/07/25 19:00 " (C) Copyright 2001-2003 Mikael Berthe -" Version: 1.6 +" Version: 1.7 " USAGE: " @@ -191,7 +191,7 @@ function! PythonCommentSelection() range if strlen(getline(cl)) execute "normal ".ind."|i".commentString endif - execute "normal j" + execute "normal \" let cl = cl + 1 endwhile endfunction @@ -247,7 +247,7 @@ function! PythonSelectObject(obj) execute "normal V".cl."G" else " Select the whole block - normal j + execute "normal \" let cl = line('.') execute ":".beg execute "normal V".PythonBoB(cl, 1, 0)."G"