сорцы конки порадовали: /* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- * vim: ts=4 sw=4 noet ai cindent syntax=c мир-дружба-жвачка прям
lastfm.ru
"A preference for Vim over Emacs"
"A preference for Vim over Emacs"
upsilon.cc
"Yup, that's true, me (user of Vim since the day I've started using GNU/Linux 10 years ago, (not so) active maintainer in Debian of vim and related packages, author of some popular Vim extensions and of vim-addon-manager) it's considering switching to Emacs. What is worse is that I've de facto already switched. "
"Yup, that's true, me (user of Vim since the day I've started using GNU/Linux 10 years ago, (not so) active maintainer in Debian of vim and related packages, author of some popular Vim extensions and of vim-addon-manager) it's considering switching to Emacs. What is worse is that I've de facto already switched. "
Подсветка для vcard файлов:
качаем файл описания синтаксиса:
vim.org
Теперь синтаксис можно выставить вручную командой
<code>
:set syn=vcard
</code>
или, чтобы это делалось автоматически, создаем файл ~/.vim/ftdetect/vcard.vim следующего содержания:
<code>
augroup filetypedetect
au BufNewFile,BufRead *.vcf setf vcard
augroup END
</code>