diff --git a/plugin/makecols.vim b/plugin/makecols.vim index e8ff7fd..6428079 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -8,9 +8,9 @@ function! s:beep() endfunction function! s:makecols() - let selection = $selection let lines = getline("'<")[getpos("'<")[2]-1:getpos("'>")[2]] echo lines + let lines = "" return s:beep() endfunction @@ -18,9 +18,7 @@ endfunction -if !exists("g:makecols_no_mappings") || ! g:makecols_no_mappings - vnoremap mc :call makecols() -endif +vnoremap mc :call makecols()