From 14eb5d90cd0a94d3cd062e46a1a6f5c456c24f86 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 11:53:44 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index bf89ce8..3be7ee2 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -81,8 +81,15 @@ function! s:convert_selection_vert() let @z = "" " For Loopage Goes here + let a = rows for i in old_selection - echom old_selection[c] + if (a % rows) + echom old_selection[a] + let a = rows + else + echom old_selection[c] + endif + let a += 1 let c += 1 endfor