From cc4bd90417f8a13a84e57592d9b09af9c3470978 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 15:20:20 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 18b9a53..c5cadcd 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -88,12 +88,10 @@ function! s:convert_selection_vert() let cols = g:makecols_cols let sec = get(old_selection, c, "") let i = 0 - while i <= cols - let z = i + while i <= lines let i = i + rows let sec = get(old_selection, i, "") let new_string = join([new_string, sec], "\t") - let i = z+1 endwhile let new_string = join([new_string,""], "\n") let c += 1