Using Geany as your VCS Editor

The following instructions and commands are to help you use Geany as the editor used with your Version Control System when writing commit messages. For integrating your VCS with Geany, make sure to check out the GeanyVC plugin.

Bazaar

echo 'export BZR_EDITOR="geany -imnst"' >> ~/.bashrc
source ~/.bashrc

Git

git config --global core.editor "geany -imnst"

Mercurial

echo 'export HGEDITOR="geany -imnst"' >> ~/.bashrc
source ~/.bashrc

Subversion

echo 'export SVN_EDITOR="geany -imnst"' >> ~/.bashrc
source ~/.bashrc
Print/export