centos7 configure nginx vim syntax highlighting

Read speak 100 Nginx core knowledge, according to his practice, not configured, you can use the following method:

  1. Download nginx source, http://nginx.org/en/download.html download here it is: nginx-1.16.0.tar.gz
  2. Extract the source-zxf tar
    tar -xzf nginx-1.16.0.tar.gz
  3. In the extracted directory, change to the directory contrib
  4. Vim contrib directory copy all files to / usr / share / vim / vim74 / folder
    cp -r /home/alexander/Documents/nginx-1.16.0/contrib/vim/* / usr / share / vim / vim74 /
    effects:

Guess you like

Origin www.cnblogs.com/AlexanderZhao/p/11071860.html