Wednesday, February 16, 2011

Mac OS: Switch between windows of the same app

In Mac OSX to switch between windows of the same app just hit 'cmd' + '~'.

Terminal: LS to show hidden files

To view hidden files starting with '.' for example ~/.bash_profile use the following command:

$ ls -a

Quoting from:

$ man ls

-a Include directory entries whose names begin with a dot (.).

SVN: How to specify editor for SVN Commit

If you are running SVN for the first time you will need to specify the editor to use when adding a comment when you use the command:

$ svn commit

To specify an editor use the following command:

$ export SVN_EDITOR=vim