from editing import * keymap = { 'left': cursor_go_left, 'right': cursor_go_right, 'up': cursor_go_up, 'down': cursor_go_down }