Browse Source

testing

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

+ 3
- 2
plugin/makecols.vim View File

@ -20,6 +20,7 @@ function! s:get_visual_selection()
let c = 0 let c = 0
let no_of_cols = 6 let no_of_cols = 6
let new_string = "" let new_string = ""
let @z = ""
for i in lines for i in lines
" start combining " start combining
@ -35,12 +36,12 @@ function! s:get_visual_selection()
let c += 1 let c += 1
endfor endfor
let @a = new_string
let @z = new_string
return lines return lines
endfunction endfunction
function! s:replace_selected_text() function! s:replace_selected_text()
execute "normal! \"ap"
execute "normal! \"zP"
echo "Just tried to replace the selection with the lines." echo "Just tried to replace the selection with the lines."
return "" return ""
endfunction endfunction

Loading…
Cancel
Save