From 7509d88729754668ac5ec5ffe12314b6922ae416 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 10:35:42 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 56a67e5..b548919 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -77,11 +77,9 @@ function! s:convert_selection_vert() let old_selection = split(selection, ",") let lines = len(old_selection) let rows = lines / g:makecols_cols - let actual_rows = float2nr(round(rows)) - if (actual_rows != rows) - let actual_rows += 1 - endif echo "Rows " . rows + let calc_rows = float2nr(round(rows)) + echo "Calc Rows " . calc_rows let @z = "" " For Loopage Goes here