zoukankan      html  css  js  c++  java
  • [Ubuntu] php5.3 manual for vim

    1. Download the phpmanual_for_vim

    http://pan.baidu.com/share/link?shareid=256523&uk=2802126572

    2. Uncompress the file to a directory, for example, ~/.vim/doc/phpmanual

    3. set the configure of .vimrc

    set runtimepath+=~/.vim/doc/phpmanual
    autocmd BufNewFile,Bufread *.ros,*.inc,*.php set keywordprg="help"

    that is all! you can type <s-k> on the word in view mode to see the details from php manual.

    BTW, when using this way, and vim info you that

    tags file not sorted

    you can use vim to open the folder, and then type %sort

    Have fun with vim!

  • 相关阅读:
    053-113
    053-262
    053-294
    053-494
    053-60
    053-105
    053-102
    053-218
    【转】LiveWriter插入高亮代码插件介绍 基于SyntaxHighighter
    windows live Writer test
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/2858123.html
Copyright © 2011-2022 走看看