Browse Source

testing

master
lolson 9 years ago
parent
commit
af25f0013f
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      plugin/makecols.vim

+ 5
- 3
plugin/makecols.vim View File

@ -23,10 +23,12 @@ function! s:get_visual_selection()
" start combining " start combining
if (i == 0) if (i == 0)
let new_string = lines[0] let new_string = lines[0]
elseif (i % no_of_cols)
let new_string = join([new_string, lines[i]], "\t")
else else
let new_string = join([new_string, lines[i]], "\n")
if (i % no_of_cols)
let new_string = join([new_string, lines[i]], "\t")
else
let new_string = join([new_string, lines[i]], "\n")
endif
endif endif
endfor endfor

Loading…
Cancel
Save