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

137579Re: Vim warns of swap files in "/var/tmp/"

Expand Messages
  • Eric Weir
    May 11, 2013
    • 0 Attachment
      On May 10, 2013, at 7:41 PM, Ben Fritz wrote:

      > On Friday, May 10, 2013 5:42:59 AM UTC-5, Eric Weir wrote:
      >> Getting "swap file exists" warning. There are no swap files anywhere in my user directory. Then I notice the text of the warning:
      >> Swap file "/var/tmp/writing.taskpaper.swp" already exists!
      > What is your 'directory' option set to? Is writing.taskpaper.swp related to a file you're editing, or a plugin?

      I don't know how to set a 'directory' option. Not in macvim preferences. To the best of my knowledge it's never been set on my system.

      writing.taskpaper.swp is associated with a file created by the taskpaper plugin. Taskpaper files have the extent 'taskpaper'.

      > Either you're editing a file in Vim that you already have open in another Vim, you had a Vim instance crash while editing that file before (but probably not, because you *said* you deleted the swap file), or you have a plugin creating swap files when it probably should not be.
      > Try disabling plugins by launching Vim with the --noplugin option. If the problem goes away it might be a plugin. The name of the swapfile might give a hint as to which one.

      As reported in my initial response, I found the there were two other instances of vim running along with macvim. Since deleting the swap files at the weird location [/var/tmp/] and shutting down the two other instances of vim I no longer get "swap exists."

      Eric Weir
      Decatur, GA USA

      "The most important thing is the tee-shirt."

      - Samara Alnafdage

      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

      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 14 messages in this topic