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

Re: Error with :.! commands

Expand Messages
  • Ben Schmidt
    ... You put the line in your ~/.vimrc ($HOME/_vimrc on Windows, I think) and it defines a custom command, so when you want to use it, you just issue ... Hope
    Message 1 of 8 , Jun 27, 2011
    • 0 Attachment
      >>> Thanks for the mkdir suggestion. Next time I face it, it will come in
      >>> handy.
      >>
      >> I made myself a command to do it some time ago, which you may find
      >> useful:
      >>
      >> command! Mktmpdir call mkdir(fnamemodify(tempname(),"__:p:h"),"",0700)
      >
      > This is completely obscure to me. Where do I put this line?

      You put the line in your ~/.vimrc ($HOME/_vimrc on Windows, I think) and
      it defines a custom command, so when you want to use it, you just issue
      :Mktmpdir from the commandline.

      Hope that helps!

      Ben.



      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php
    Your message has been successfully submitted and would be delivered to recipients shortly.