From e90e222285e2af5967d5d9896b5ab06ab6c91e45 Mon Sep 17 00:00:00 2001 From: lolson Date: Fri, 10 Jul 2015 15:42:26 -0500 Subject: [PATCH] adding features --- plugin/makecols.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index fcf794b..244bf1f 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -64,11 +64,8 @@ endfunction function! s:makecols(orient) range let g:makecols_orientation = a:orient - if exists(v:count) - let g:makecols_cols = v:count - endif echom "Orientation: " . g:makecols_orientation - echom "Number of Columns: " . g:makecols_cols + echom "Number of Columns: " . v:count ? g:makecols_cols : 5 let mode = visualmode() if (mode !=# "V") echo "You must be in linewise visual mode"