diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 4077ed7..b746255 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -80,25 +80,9 @@ function! s:convert_selection_vert() let rows = float2nr(ceil(rows)) let @z = "" - let r = 1 " For Loopage Goes here for i in old_selection - if (c == 0) - " If first selected line - " let new_string = join([new_string, i], "") - let new_string = i - else - if (r == rows) - " If end of row - let new_string = join([new_string, i], "\n") - let r = 0 - else - " If regular column - let new_string = join([new_string, i], "\t") - endif - let r += 1 - endif - let c += 1 + echom i endfor return join([new_string, ""], "\n")