diff --git a/plugin/makecols.vim b/plugin/makecols.vim index bec48ed..bf50eb7 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -96,6 +96,7 @@ function! s:convert_selection_vert() endif let pos = row while col < cols + let col += 1 let pos = pos + rows echom "ROW: " . row . " COL: " . col . " POS: " . pos let content = get(old_selection, pos, "blank") @@ -104,7 +105,6 @@ function! s:convert_selection_vert() else let new_string = join([new_string, content], "\t") endif - let col += 1 endwhile let new_string = join([new_string,""], "\n") let row += 1