From 4c5d868e3597a68b468b29fc0e8cab37ba6c7277 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 15:57:26 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index e01975c..af7a86c 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -86,13 +86,14 @@ function! s:convert_selection_vert() " 3 7 11 let new_string = "" let row = 0 + let pos = 0 while row < rows - echom "ROW: " . row + let col = 0 + echom "ROW: " . row . " COL: " . col . " POS: " . pos if (row == 0) let content = get(old_selection, 0, "blank") let new_string = join([new_string, content], "") endif - let col = row let pos = row while col < cols let pos = pos + rows