From f9008a4093434f2dbba3eef2246f47dbd6360e51 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 10:20:45 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 60c6d8c..6c7d16b 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -75,6 +75,10 @@ function! s:convert_selection_vert() let new_string = "" let selection = s:get_visual_selection() let old_selection = split(selection, ",") + let lines = len(old_selection) + let rows = lines / g:makecols_cols + let rows = floor(rows) + echom rows let @z = "" " For Loopage Goes here