From b41456deab9bd9b7dbf0a6ed2bb00fcdfc7c7f15 Mon Sep 17 00:00:00 2001 From: lolson Date: Mon, 13 Jul 2015 16:23:54 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index d652846..3c8cde5 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -91,10 +91,10 @@ function! s:convert_selection_vert() let pos = row echom "ROW: " . row . " COL: " . col . " POS: " . pos if (row == 0 && col == 0) - let content = get(old_selection, 0, "blank") + let content = get(old_selection, 0, "") let new_string = join([new_string, content], "") else - let content = get(old_selection, row, "huh") + let content = get(old_selection, row, "") let new_string = join([new_string, content], "\n") endif @@ -103,7 +103,7 @@ function! s:convert_selection_vert() let col += 1 let pos = pos + rows echom "ROW: " . row . " COL: " . col . " POS: " . pos - let content = get(old_selection, pos, "blank") + let content = get(old_selection, pos, "") let new_string = join([new_string, content], "\t") endwhile let row += 1