Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7515 - [vim] error to open file

Attached to Project: Arch Linux
Opened by Marc Poiroud (marci1) - Monday, 25 June 2007, 22:45 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 29 June 2007, 06:19 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
When I open a file, vim show error :
[fr]
Erreur détectée en traitant /usr/share/vim/vimrc_example.vim :
ligne 80 :
E174: La commande existe déjà : ajoutez ! pour la redéfinir
Appuyez sur ENTRÉE ou tapez une commande pour continue
[en] translation
Erro detected in /usr/share/vim/vimrc_example.vim
line 80 :
E174: command already exist : add ! for definition


Additional info:
* vim-7.1.12-1
* my vimrc_example.vim
77 " Convenient command to see the difference between the current buffer and the
78 " file it was loaded from, thus the changes you made.
79 command DiffOrig vert new | set bt=nofile | r # | 0d_ | diffthis
80 \ | wincmd p | diffthis


Steps to reproduce:
Open any file with vim/gvim
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Friday, 29 June 2007, 06:19 GMT
Reason for closing:  Not a bug
Comment by Marc Poiroud (marci1) - Thursday, 28 June 2007, 17:35 GMT
It was because I was sourcing the file "share/vim/vim71/vimrc_example.vim"
in both my ~/.vimrc and ~/.gvimrc. If I remove it, it should work fine.

Closed
Comment by Roman Kyrylych (Romashka) - Friday, 29 June 2007, 06:19 GMT
closing on this request:
It was because I was sourcing the file "share/vim/vim71/vimrc_example.vim" in both my ~/.vimrc and ~/.gvimrc. If I remove it, it should work fine. Closed

Loading...