Browse Source

adding features

master
lolson 9 years ago
parent
commit
7509d88729
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      plugin/makecols.vim

+ 2
- 4
plugin/makecols.vim View File

@ -77,11 +77,9 @@ function! s:convert_selection_vert()
let old_selection = split(selection, ",") let old_selection = split(selection, ",")
let lines = len(old_selection) let lines = len(old_selection)
let rows = lines / g:makecols_cols let rows = lines / g:makecols_cols
let actual_rows = float2nr(round(rows))
if (actual_rows != rows)
let actual_rows += 1
endif
echo "Rows " . rows echo "Rows " . rows
let calc_rows = float2nr(round(rows))
echo "Calc Rows " . calc_rows
let @z = "" let @z = ""
" For Loopage Goes here " For Loopage Goes here

Loading…
Cancel
Save