Loading ...
Sorry, an error occurred while loading the content.

99975Re: Writing text to a file (invisibly)

Expand Messages
  • Tom Link
    Jan 2, 2009
    • 0 Attachment
      > 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
    • Show all 6 messages in this topic