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

19279:put alternatives?

Expand Messages
  • Alex
    Jul 2, 2001
    • 0 Attachment
      Is there any command like :put that will work on a variable instead of a
      register?
      I want to do something like:
      :let g:foo="Some String"
      :put g:foo

      but :put only works with registers, and I dont feel like using a register
      for this purpose.
      is there anything I can do to insert the text from a global variable into
      the text I'm editing?

      Thanks again guys!!
      Alex
    • Show all 2 messages in this topic