Wrapped keymapping in function to give access to 'that'