Browse Source

adding features

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

+ 4
- 0
plugin/makecols.vim View File

@ -75,6 +75,10 @@ function! s:convert_selection_vert()
let new_string = "" let new_string = ""
let selection = s:get_visual_selection() let selection = s:get_visual_selection()
let old_selection = split(selection, ",") let old_selection = split(selection, ",")
let lines = len(old_selection)
let rows = lines / g:makecols_cols
let rows = floor(rows)
echom rows
let @z = "" let @z = ""
" For Loopage Goes here " For Loopage Goes here

Loading…
Cancel
Save