> 1)select some text
let lines = getline(from, to)

> 2)write that text to a file in either 'w' mode or 'a' mode

For 'w', you could then use writefile(lines, filename), which wasn't
mentioned before.

> +python feature because I am a python programmer.

Why not use it then? You could do #1 in vim and #2 in python.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to