diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 7262c34..d6f1a50 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -2,6 +2,11 @@ " Author: Levi Olson " Version: 1.0 +function! s:beep() + exe "norm! \" + return "" +endfunction + function! s:makecols(no_of_cols) return s:beep() endfunction @@ -10,7 +15,12 @@ endfunction +nnoremap MakeCols :call makecols(4) + +if !exists("g:makecols_no_mappings") || ! g:makecols_no_mappings + nmap mc MakeCols +endif @@ -22,4 +32,4 @@ endfunction -" vim:set ft=vim sw=4 sts=2 et: +" vim:set ft=vim sw=4 sts=4 et: