Browse Source

adding features

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

+ 3
- 0
plugin/makecols.vim View File

@ -73,11 +73,14 @@ function! s:convert_selection_vert()
" Setup some variables
let c = 0
let new_string = ""
let list = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20]
let selection = s:get_visual_selection()
let old_selection = split(selection, ",")
let lines = len(old_selection) * 1.0
let rows = (lines / g:makecols_cols) * 1.0
let rows = float2nr(ceil(rows))
let cols = list[g:makecols_cols:]
echom cols
let @z = ""
" For Loopage Goes here

Loading…
Cancel
Save