Nginx Syntax Highlighting For Vim
Posted: June 5, 2010 | By: TJ | In Technology | One comment
I found this little gem by Evan Miller in the Vim scripts archive a few days ago and love it so far. If you’re working with Nginx configurations, even on a casual basis, it’s nice to have syntax highlighting. Although the Vim plugin directions are fairly straightforward, I thought I’d outline the complete process here. Log into your box and running the following commands:
$ /bin/mkdir -p ~/.vim/syntax/ $ cd ~/.vim/syntax/ $ wget http://www.vim.org/scripts/download_script.php?src_id=12990 $ mv download_script.php?src_id=12990 nginx.vim $ touch ~/.vim/filetype.vim $ echo "au BufRead,BufNewFile /etc/nginx/* set ft=nginx" >> ~/.vim/filetype.vim

Nginx Syntax Highlighting For Vim








hey thanks for these ~ added your feed to the reader.