[SCM] Vim packaging branch, maint/lenny, updated. debian/7.1.314-3-51-g209709e
James Vega
jamessan at debian.org
Sun Oct 12 06:29:17 UTC 2008
The following commit has been merged in the maint/lenny branch:
commit f627a5111db4c6e0293c4b5aae5f4245c7b18367
Author: James Vega <jamessan at debian.org>
Date: Thu Aug 7 12:23:18 2008 -0400
Select proper file for deletion in NetRW's wide display mode
Closes #492519
Signed-off-by: James Vega <jamessan at debian.org>
diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim
index 8861177..8162419 100644
--- a/runtime/autoload/netrw.vim
+++ b/runtime/autoload/netrw.vim
@@ -2421,7 +2421,7 @@ endfun
" ---------------------------------------------------------------------
" s:NetrwGetWord: it gets the directory/file named under the cursor {{{2
fun! s:NetrwGetWord()
-" call Dfunc("s:NetrwGetWord() line#".line(".")." liststyle=".g:netrw_liststyle." virtcol=".virtcol("."))
+" call Dfunc("s:NetrwGetWord() line#".line(".")." liststyle=".g:netrw_liststyle." virtcol=".w:netrw_col)
call s:UseBufWinVars()
" insure that w:netrw_liststyle is set up
@@ -2489,8 +2489,8 @@ fun! s:NetrwGetWord()
endif
" call Decho("buf#".bufnr("%")."<".bufname("%").">")
- let filestart = (virtcol(".")/b:netrw_cpf)*b:netrw_cpf
-" call Decho("filestart= ([virtcol=".virtcol(".")."]/[b:netrw_cpf=".b:netrw_cpf."])*b:netrw_cpf=".filestart." bannercnt=".w:netrw_bannercnt)
+ let filestart = (w:netrw_col/b:netrw_cpf)*b:netrw_cpf
+" call Decho("filestart= ([virtcol=".w:netrw_col."]/[b:netrw_cpf=".b:netrw_cpf."])*b:netrw_cpf=".filestart." bannercnt=".w:netrw_bannercnt)
" call Decho("1: dirname<".dirname.">")
if filestart == 0
norm! 0ma
--
Vim packaging
More information about the pkg-vim-maintainers
mailing list