zoukankan      html  css  js  c++  java
  • vim配置使用

    ctags

    mac上的ctags配置

    1、http://ctags.sourceforge.net从download源码,源码安装

    2、which -a ctags查看ctags版本,观察到有两个版本

    /usr/bin/ctags =>  orginal ctags

    /usr/local/bin/ctags => exuberant ctags

    3、将安装版本放在系统版本之前

    修改~/.bash_profile, PATH=/usr/local/bin:$PATH

    4、source ~/.bash_profile,使配置生效

    taglist使用

    1、http://www.vim.org/scripts/script.php?script_id=273中download下载源码,解压缩到~/.vim下

    2、在~/.vimrc中添加

          let Tlist_Show_One_File=1
          let Tlist_Exit_OnlyWindow=1

    3、在编辑的文件中,输入命令 :Tlist即可

    WinManager使用

    1、http://www.vim.org/scripts/script.php?script_id=95中download下载源码,解压到~/.vim下

    2、在~/.vimrc中添加

         let g:winManagerWindowLayout='FileExplorer|TagList'

         nmap wm :WMToggle<CR>

    3、在编辑的文件中,在normal模式下输入wm即可

  • 相关阅读:
    rpc rmi http
    理解Global interpreter lock
    maven scope含义的说明
    实现图片缩放
    实现在edittext中任意插入图片
    上传图片或文件到服务器端
    onResume
    关于Context
    android bitmap compress
    saveFile()方法
  • 原文地址:https://www.cnblogs.com/ai1024/p/8258574.html
Copyright © 2011-2022 走看看