Показ дописів із міткою Unix. Показати всі дописи
Показ дописів із міткою Unix. Показати всі дописи

пʼятницю, 18 квітня 2014 р.

VIM: Syntax highlight for cron files

No one can doubt how much easiness can vi(m) bring to your life :) Very important (and useful) thing is syntax highlight. I just realized that if you edit cron tasks, there is no highligh (excluding /etc/crontab, which has automatic highlight).

So first just open needful file with vim. Don't see helpful highlights, right?

Then just use the following command to make it eye-candy:
:set ft=crontab 

And enjoy the editing :)


Good luck!

References:
http://unix.stackexchange.com/questions/68972/no-syntax-highlighting-when-editing-crontab
http://vimdoc.sourceforge.net/htmldoc/filetype.html

суботу, 26 грудня 2009 р.

Найкращий IM для *nix: qutIM

qutIM - одна з тих програм, що радують постійно)
qutIM

Для встановлення його в моїй домашній Ubuntu 9.10 використав офсайт проекту.