remap the moving command history
remove the duplicated and usless configures