What happens when you execute the date command by itself in a terminal?

date +” [\%H:\%M]

For gt, you can add an <Esc> at the end to take you out of insert mode. The map macros a shortcut for a set of keys that you would type normally.

So you can test out what keystrokes you want to do and then make those into a macro.

Human potential busy body. Founded @coachdotme, @bttrHumans, @bttrMarketing. Helped @medium @calm. Current work focus: Habit Coach Certification.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store