Pyclewn Vim logo gdb logo python logo

Table Of Contents

This Page

Pyclewn installation notes


Python Vim
Python 2.4 or above Vim 7.0 or above with the netbeans_intg feature enabled, and with the autocmd feature enabled (netbeans and autocmd are enabled on most distributions).

Install on unix

Unpack the tarball, change directory to the distribution directory and run the setup script to install pyclewn:

tar xzf pyclewn-1.11.py3.tar.gz
cd pyclewn-1.11.py3
python install --force

You can now use the :help pyclewn command within vim, to get access to the documentation.

The installation process uses the environment variable EDITOR to invoke Vim and install the pyclewn help file, gvim is used when this environment variable is not found.

Local installation on unix

Use a local installation when you do not have root privileges and those are required to install python packages or to install the vim runtime files on your system.

Pyclewn binaries

Local installation of the pyclewn binaries is done using the distutils home scheme as follows (pyclewn is installed in $HOME/bin):

python install --force --home=$HOME

Vim runtime files

Local installation of the runtime file is done by setting the vimdir environment variable set to your personal vim runtime directory during installation:

vimdir=$HOME/.vim python install --force

Both binaries and runtime

Local installation of the pyclewn binaries and the runtime file is done with the command:

vimdir=$HOME/.vim python install --force --home=$HOME

Uninstall on unix

To uninstall pyclewn on unix, run the same command that you have been using for installing pyclewn and record into files.txt the list of files that are being installed with the --record option. For example:

python install --force --home=$HOME --record files.txt

Then remove all the installed files:

rm $(cat files.txt)

Install on Windows

Pyclewn is installed with a Windows installer.

The following software must have been installed on Windows:

Vim must be in the PATH before starting the installation, otherwise the installation will fail. Use the Control Panel on Windows XP to add the vim directory to %PATH%:

Control Panel > System > Advanced tab
Advanced tab > Environment Variables > Edit "PATH"

On Vista, add the PATH environment variable to your account, and set its value to:


To install pyclewn, double-click on the installer: pyclewn-1.11.py3.win32.exe. This will install pyclewn, configure Vim and create a shortcut on the Desktop. The installation is complete after the following message is printed by the installer: pyclewn postinstall completed. You can now use the :help pyclewn command within vim, to access the documentation.

You may have to edit the installed shortcut (right-click > Properties) to update the gdb full pathname when gdb has not been installed in the standard MinGW location.

When you run pyclewn from within gvim (vim version 7.3 or newer) with the :Pyclewn vim command, the directory of gdb.exe must be in Windows %PATH%, or the full pathname of gdb must be entered in autoload\pyclewn.vim.

Pyclewn may be uninstalled with the Control Panel.

Please note that the installation will fail when you upgrade to version 1.0 if you did not uninstall the previous pyclewn version with the Control Panel. This will not be required when upgrading to the next versions.