2月 25
nano なんて全然知らないので visudo でファイルが保存できなかったヘタレな僕は、そもそもデフォルトエディタを vim にすることにしました。 vim マンセー。
# update-alternatives --config editorThere are 3 alternatives which provide `editor’.
Selection Alternative
———————————————–
1 /usr/bin/vim.tiny
*+ 2 /bin/nano
3 /usr/bin/vim.basicPress enter to keep the default[*], or type selection number: 3
こんなコマンド知らなかったなー。
3月 17th, 2008 at 12:28:49
役に立ちました。ありがとうございます。
config の前はハイフン二つですよね。
# update-alternatives –config editor
3月 18th, 2008 at 0:56:06
> ジュンヤさん
コメントありがとうございます!
なぜかハイフンが1つ消えてますね。失礼しました・・・。
早速、修正しました。