Requires Snack Pack 3 (download here). See README.txt for instructions.
Note: it is recommended that you bind separate keys for "swim up" and "swim down", as there will be some combat under water, and it helps to be able to swim up and down properly, without needing to look away from the monsters.