From 0af8de922fbaab990f5e80561b09e1ab0545968f Mon Sep 17 00:00:00 2001 From: lolson Date: Thu, 9 Jul 2015 17:33:11 -0500 Subject: [PATCH] testing --- plugin/makecols.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 7aafbe2..05a3bbb 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -13,13 +13,13 @@ function! s:get_visual_selection() let lines = getline(lnum1, lnum2) let lines[-1] = lines[-1][: col2 - (&selection == 'inclusive' ? 1 : 2)] let lines[0] = lines[0][col1 - 1:] - let @* = join(lines, ", ") execute lnum1 . "," . lnum2 . "delete" + let @a = join(lines, ", ") return lines endfunction function! s:replace_selected_text() - normal! \"*p + execute "normal! \"ap" echo "Just tried to replace the selection with the lines." return "" endfunction