Set keymap from preference on editor widget creation