Use remap function for projectile and flycheck.