setting: modify coding style and add revert shortkey

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>