I played with the backupcopy and backup settings:

originally, they were set to:
nobackup
nowritebackup
backupcopy=no

I tried enabling some/all of them, but still no luck.

I then just removed my .vimrc, which made the command execute. Then I went with 
a good old trial and error: comment out my entire .vimrc and enable section 
after section. Luckily, it was already the 2nd paragraph that broke the 
execution: it is my pathogen settings:

  filetype off
  silent! call pathogen#runtime_append_all_bundles()
  silent! call pathogen#helptags()
  filetype plugin indent on

I tried commenting in/out just individual lines, but they all broke it. After 
some more fiddling around, I came up with this workaround, which looks nasty 
(and I'm not happy about it) but it works:

  if expand('%:t') =~?'bash-fc-\d\+'
    setfiletype sh
  else
    filetype off
    silent! call pathogen#runtime_append_all_bundles()
    silent! call pathogen#helptags()
    filetype plugin indent on
  endif

Basically: when I'm editing commands, I prevent pathogen from running (which 
means none of my plugins get loaded). If somebody has a better way or knows 
what I need to do to pathogen to make it work, please let me know!

In the meantime, I hope this helps other people in my position.

On Thursday, 7 November 2013 16:37:35 UTC+1, Christian Brabandt  wrote:
 
> Play with the backupcopy setting and possibly also with 'backup'
> 
> and 'writebackup' options.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to