vi from the vim-minimal package is trying to read ~/.vimrc, but complains because it contains vim-specific commands. In my case, output looks like this. $ /bin/vi Error detected while processing /home/drizzd/.vimrc: line 63: E488: Trailing characters: ^I0put!=line_empty . line_file . line_empty . line_copy . line_empty line 103: E488: Trailing characters: ^I0put!=header Press ENTER or type command to continue
/bin/vi really acts strange after reading some of my options in .vimrc, making it quite annoying/unusable editor...
Works for me, so it looks like you're using a custom .vimrc that doesn't have the necessary checks if a feature is supported. You need to enclose the offending part of our .vimrc with a feature check so that /bin/vi doesn't try to use it. A check looks like this: if has("cscope") set csprg=cscope .... endif You can get a list of feature names that you can use here with :help feature-list If that still doesn't help, reopen this bugzilla and attach your .vimrc, please
This is a minimal .vimrc that will reproduce my particular problem: (This was part of a function body in case you are wondering.) put='hi' IMO it makes no sense for vim-minimal to even try to read a file called .vimrc. There is already a mechanism in the package to not read /etc/vimrc (it's replaced with /etc/virc). I believe the same should apply to the user specific configuration file.