Mapping a key to a sequence of simulated key presses using the
feedkeys shortcut command (e.g.
:map I feedkeys :info<Return>) will result in a series of GDK warnings in the controlling terminal whenever that mapped key is pressed:
Gdk-WARNING **: Event with type 8 not holding a GdkDevice. It is most likely synthesized outside Gdk/GTK+
Attaching the keyboard to the key press event avoids these warnings.