yangxiang92/vimpdb

Pluign fails to load

GoogleCodeExporter opened this issue · 12 comments

What steps will reproduce the problem?
1. Extract to ~/.vim/plugin/
2. Run Vim
3.

What is the expected output? What do you see instead?

When starting Vim given the following error:

Error detected while processing ~/.vim/plugin/VimPdb.vim:
line    9:
E492: Not an editor command: ^M

for many of the lines in VimPdb

What version of the product are you using? On what operating system?
Ubuntu 7.10


Please provide any additional information below.


Original issue reported on code.google.com by Mjr...@gmail.com on 12 Jan 2008 at 9:43

I was able to get around this by resaving the .vim script file in the unix file 
format..  basically, edit the VimPdb.vim, :set ff=unix, :wq, and then reload 
the 
python file buffer .. 

Original comment by mr.m.s.s...@gmail.com on 10 Mar 2008 at 12:50

Or try to use an alternativ archiv-programm. E.g. "ark" for the KDE Desktop.

Original comment by phxx...@gmail.com on 7 Oct 2008 at 8:54

@mr.m.s.stevenson

thx, it works :)

Original comment by simone.s...@gmail.com on 15 Nov 2008 at 9:28

On Linux:
$ dos2unix VimPdb.vim

Original comment by etienne....@gmail.com on 17 Aug 2009 at 2:23

On Mac: open in Hex Fiend, do a find and replace all on 0D 0A to 0A

Original comment by chao...@gmail.com on 19 Feb 2010 at 10:54

@chaos42

thanks, works for mac

Original comment by thursday...@gmail.com on 6 Nov 2010 at 3:59

thanks, works now.

Original comment by sheepzen...@gmail.com on 12 Feb 2011 at 1:29

works for Ubuntu 10.04 as well. Thanks

Original comment by marcelor...@gmail.com on 22 Apr 2011 at 7:57

Fixed just installed dos2unix and bam! :) 
Thanx

Original comment by dhaval....@gmail.com on 14 Jun 2011 at 6:57

mv VimPdb.vim VimPdb.bak && tr -d '\r' < VimPdb.bak > VimPdb.vim && rm 
VimPdb.bak

Original comment by maciekwc...@gmail.com on 18 Mar 2012 at 9:49

@mr.m.s.s...@gmail.com,
thanks. that solves the issue for me

Original comment by polarglo...@gmail.com on 24 Jan 2013 at 7:28

Thx,installed dos2unix.

Original comment by jimokang...@gmail.com on 30 Jan 2013 at 6:44