Quantcast
Channel: SVN – Magp.ie
Viewing all articles
Browse latest Browse all 5

Change SVN editor to Vim or TextWrangler

$
0
0

When you check-in to SVN with svn ci, the default editor opens to allow you to enter your commit message. My default editor was Emacs. I don’t use Emacs for anything else, and I found entering a simple message a tad frustrating as Emacs commands/shortcuts are different to what I use with Vim.

Enough is enough, time to change.

So, to change the default editor to Vim, simply enter the following command into your ~/.bash_rc or ~/.bash_profile file, then close and reopen your bash window.

export SVN_EDITOR=vim

Note: Here is a comprehensive guide to basic SVN commands which among other things, shows you how to set up SVN to use TextWrangler as your default editor – https://weblion.psu.edu/trac/weblion/wiki/SubversionBasics


Filed under: Guides Tagged: emacs, SVN, textwrangler, vim

Viewing all articles
Browse latest Browse all 5

Trending Articles