Browse Source

adding features

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

+ 3
- 3
plugin/makecols.vim View File

@ -79,15 +79,15 @@ function! s:convert_selection_vert()
let lines = len(old_selection) * 1.0 let lines = len(old_selection) * 1.0
let rows = (lines / g:makecols_cols) * 1.0 let rows = (lines / g:makecols_cols) * 1.0
let rows = float2nr(ceil(rows)) let rows = float2nr(ceil(rows))
let cols = list[g:makecols_cols:]
let cols = list["g:makecols_cols":]
echom cols echom cols
let @z = "" let @z = ""
" For Loopage Goes here " For Loopage Goes here
let a = rows let a = rows
for i in old_selection for i in old_selection
echom old_selection[c]
echom old_selection[a]
" echom old_selection[c]
" echom old_selection[a]
let a += 1 let a += 1
let c += 1 let c += 1
endfor endfor

Loading…
Cancel
Save