Python plugin setting with Vim

1. Go to: http://vim.sourceforge.net/scripts/script.php?script_id=850
Download the plugin which you need.

package script version date Vim version user release notes
pydiction-1.2.zip 1.2 2009-07-25 7.0 ryan kulla Added “from module” completion, Tab backwards support, and more third party libs.

Install details UNIX/LINUX: Place python_pydiction.vim in:  ~/.vim/after/ftplugin/

If this directory doesn’t already exist, create it. Vim looks there automatically.

WINDOWS: Assuming you installed Vim to C:\vim\, put python_pydiction.vim in C:\vim\vimfiles\ftplugin

You may install the other files (complete-dict and pydiction.py) anywhere you want. For this example, we’ll assume you put them in C:\vim\vimfiles\ftplugin\pydiction\

Don’t put any files but python_pydiction.vim in the ftplugin directory, only .vim files should go there.

In your vimrc file, first add the following line to enable ftplugins:

filetype plugin on

then make sure you set “g:pydiction_location” to the full path of where you installed complete-dict, i.e.:

let g:pydiction_location = ‘C:/vim/vimfiles/ftplugin/pydiction/complete-dict’

打造自己的Vim Bash 编辑器[转]

http://www.forwind.cn/2007/07/02/vim-bash-ide/

相信没有多少Linuxer不知道vim吧。我个人认为,它是这个星球上最好的编辑器(EMACS支持者别骂我……),自己也一直使用vim来写程序,曾在这个网站上共享过自己的vimrc。作为中小级别的程序来说,vim替代其他所有的IDE都完全足够了,而今天要介绍的,就是如何将vim打造成用于bash脚本编程的IDE。相信我,如果你以前没有使用过vim,试用一下吧,你会爱上它的。 Continue reading “打造自己的Vim Bash 编辑器[转]”