Changing key binding of measurement tool

how do i do that? please tell me in detail