From 2e892bf4d29ee84c5c122df6c0e8f0b21cc0cb79 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 16:05:10 -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 b8fdfa1..e59683b 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -97,7 +97,6 @@ function! s:convert_selection_vert() let pos = row while col < cols let col += 1 - let pos = row + rows echom "ROW: " . row . " COL: " . col . " POS: " . pos let content = get(old_selection, pos, "blank") if (col == 0) @@ -105,6 +104,7 @@ function! s:convert_selection_vert() else let new_string = join([new_string, content], "\t") endif + let pos = row + rows endwhile let new_string = join([new_string,""], "\n") let row += 1