changliwei/vim-python-ide
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
author:changliwei email:changliwei07@gmail.com This is vim python ide plugins set. To function well you must put .vim folder together with file .vimrc under your home root directory! If you want to use taglists and ctags you must install ctags first and set ctags path through command "which ctags" to match your .vimrc catgs line "let Tlist_Ctags_cmd='/usr/bin/ctags' " That is all for vim config do enjoy it ! #2013/01/28 to add commandT support http://www.cnblogs.com/chijianqiang/archive/2012/11/06/vim-3.html Command-T -------------------------------------------------------------------------------- 1、下载地址 https://wincent.com/products/command-t 2、功能说明 Command-T是一个基于Ruby和C扩展实现的快速文件浏览的插件,类似TextMate的Go to File(Command+T呼出)功能,或Eclipse的Open Resource(Command+Shift+r)功能,可以通过模糊匹配快速定位并打开文件。 3、安装 1.从下载地址下载最新版本的vba文件,目前最新版本是1.4,所以安装文件是command-t-1.4.vba 2.在~/.vim/bundle目录下创建文件夹command-t 3.用Vim打开command-t-1.4.vba 4.执行:UseVimball ~/.vim/bundle/command-t 5.进入ruby目录下编译C扩展 cd ~/.vim/bundle/command-t/ruby/command-t ruby extconf.rb make 4、使用说明 输入:CommandT可进入文件快速定位功能 1.ctrl+j/k 上下选择文件,选中后回车打开文件 2.ctrl+t 以tab方式打开文件 3.ctrl+s/v 可以水平或垂直分割窗口打开文件 4.ctrl+c 退出该模式 该插件还有个常用命令,:CommandTBuffer,可以浏览缓冲区的文件,并重新打开。操作方式同上。 5、注意事项 Vim版本需要支持ruby扩展。我们可以在Vim中输入:ruby 1检查,如果出现E319: Sorry, the command is not available in this version就表示不支持。 如果出现上述情况,我们就需要自己去编译能够支持ruby的Vim,嫌麻烦的话可以直接安装vim-nox,自带Ruby支持,在Ubuntu下安装命令如下:sudo apt-get install vim-nox。 执行ruby extconf.rb命令时如果出现找不到mkmf包的情况,说明你需要安装ruby-dev的包,在Ubuntu下安装命令如下:sudo apt-get install ruby1.8-dev。 License ------- Copyright (c) 2012 Chang Liwei Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.