Added shortcuts for local and global replace.

Signed-off-by: Charlotte Pierce <charlotte@malformed-bits.com>
Fixed rules for global replace.

Signed-off-by: Charlotte Pierce <charlotte@malformed-bits.com>