Browse Source

adding features

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

+ 3
- 3
plugin/makecols.vim View File

@ -76,10 +76,10 @@ function! s:convert_selection_vert()
let selection = s:get_visual_selection()
let old_selection = split(selection, ",")
let lines = len(old_selection) * 1.0
echom "Lines: " . float2nr(lines)
echom "Lines: " . string(lines)
echom "Cols: " . g:makecols_cols
let rows = lines / g:makecols_cols
echom "Rows: " . float2nr(rows)
let rows = (lines / g:makecols_cols) * 1.0
echom "Rows: " . string(rows)
" let calc_rows = float2nr(ceil(rows))
" echom "Rounded: " . calc_rows
let @z = ""

Loading…
Cancel
Save