I'm having troubles with editing my crontab. This is what happens: when I edit crontab as my own user 'crontab -e', everything works fine. The environment var "EDITOR" is read and /usr/bin/vim is started as the editor for the crontab. However, when I try to edit the crontab for root (by typing 'sudo crontab -e'), I receive the following errors:
Code:
Error detected while processing /home/rogier/.vimrc:
line 1: E319: Sorry, the command is not available in this version: syntax enableError detected while processing /home/rogier/.vim/colors/solarized.vim:
line 141: E319: Sorry, the command is not available in this version: let s:terms_italic=["rxvt","gnome-terminal"]
line 147: E319: Sorry, the command is not available in this version: let s:terms_noitalic=["iTerm.app","Apple_Terminal"]
For some reason, the .vimrc file is interpreted wrong and I don't know how to solve this.
Bookmarks