Browse Source

testing

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

+ 3
- 7
plugin/makecols.vim View File

@ -21,14 +21,10 @@ function! s:get_visual_selection()
for i in lines
" start combining
if (i == 0)
let new_string = lines[0]
if (i % no_of_cols)
let new_string = join([new_string, lines[i]], "\t")
else
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
let new_string = join([new_string, lines[i]], "\n")
endif
endfor

Loading…
Cancel
Save