From ce67ceaeb5848bc09e780cb79c54a2b7a87d60f8 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 10:29:43 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index ba5e3de..4e7ce18 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -76,7 +76,7 @@ function! s:convert_selection_vert() let selection = s:get_visual_selection() let old_selection = split(selection, ",") let lines = len(old_selection) - let rows = (lines / g:makecols_cols) + 1 + let rows = (lines / g:makecols_cols) + 0.5 let rows = float2nr(round(rows)) echom "Rows" . rows let @z = ""