From 1e7b0917532ac337589781c849ccf5c4631b8eb4 Mon Sep 17 00:00:00 2001 From: lolson Date: Thu, 9 Jul 2015 16:07:59 -0500 Subject: [PATCH] testing --- plugin/makecols.vim | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/plugin/makecols.vim b/plugin/makecols.vim index d6f1a50..d6d65c2 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -7,7 +7,9 @@ function! s:beep() return "" endfunction -function! s:makecols(no_of_cols) +function! s:makecols() + let selection = $selection + let lines = getline("'<")[getpos("'<")[2]-1:getpos("'>")[2]] return s:beep() endfunction @@ -15,11 +17,8 @@ endfunction -nnoremap MakeCols :call makecols(4) - - if !exists("g:makecols_no_mappings") || ! g:makecols_no_mappings - nmap mc MakeCols + nmap mc :call makecols() endif