Install python. Vim syntax highlighting
Copy python. Vim ~ /. Vim/afer/ftplugin
In ~ /. Add configuration in vimrc
Set autoindent "same level indent
Set smartindent "Next level indent
Set expandtab
Set tabstop = 4
Set shiftwidth = 4
Set softtabstop = 4
Automatic pydiction installation completed:
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 shoshould 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'