diff --git a/plugin/makecols.vim b/plugin/makecols.vim index 956c768..56a8381 100644 --- a/plugin/makecols.vim +++ b/plugin/makecols.vim @@ -2,6 +2,14 @@ " Author: Levi Olson " Version: 1.0 +if !exists("g:makecols_orientation") || ! g:makecols_orientation + let g:makecols_orientation = "horz" +endif +if !exists("g:makecols_cols") || ! g:makecols_cols + let g:makecols_cols = "5" +endif + + function! s:beep() exe "norm! \" return "" @@ -89,13 +97,6 @@ vnoremap mc :call makecols(g:makecols_orientation, g:makecols vnoremap mch :call makecols("horz", g:makecols_cols) vnoremap mcv :call makecols("vert", g:makecols_cols) -if !exists("g:makecols_orientation") || ! g:makecols_orientation - let g:makecols_orientation = "horz" -endif -if !exists("g:makecols_cols") || ! g:makecols_cols - let g:makecols_cols = "5" -endif -