stealing kyle's magit keydef