Fix projectile mode and terminal keymap