Browse Source

adding features

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

+ 3
- 2
plugin/makecols.vim View File

@ -86,13 +86,14 @@ function! s:convert_selection_vert()
" 3 7 11
let new_string = ""
let row = 0
let pos = 0
while row < rows
echom "ROW: " . row
let col = 0
echom "ROW: " . row . " COL: " . col . " POS: " . pos
if (row == 0)
let content = get(old_selection, 0, "blank")
let new_string = join([new_string, content], "")
endif
let col = row
let pos = row
while col < cols
let pos = pos + rows

Loading…
Cancel
Save