From f32f96fc03f56db25a19d09032b11b70ab65db60 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 15:25:27 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 2ea13d9..9492496 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -84,12 +84,12 @@ function! s:convert_selection_vert() " 4 8 12 let new_string = "" let c = 0 - while c <= g:makecols_cols + while c < g:makecols_cols let cols = g:makecols_cols let sec = get(old_selection, c, "") let i = c echom "C: " . c - while i <= lines + while i < lines let i = i + rows echom "I: " . i let sec = get(old_selection, i, "blank")