crontab -e mit EDITOR=vim
Hallo,
man crontab sagt:
The -e option is used to edit the current crontab using the editor
specified by the VISUAL or EDITOR environment variables. The specified
editor must edit the file in place; any editor that unlinks the file
and recreates it cannot be used.
Scheinbar scheint der vim (in seiner Standard-Konfiguration) ein Editor
zu sein, der hier gerade nicht funktioniert. Kann mir jemand sagen,
was ich in meiner .vimrc tun muß (oder wie ich "EDITOR" mit Optionen
versehen muß), damit ich zum crontab editieren nicht eine andere
EDITOR-Variable setzen muß?
Viele Grüße
Andreas.
Reply to: