Score:1

How can one establish a keyboard shortcut for inserting the current date in Gedit?

es flag

I am looking for a way to establish a keyboard-shortcut for inserting the current date when using the text-editor, Gedit. I know it can be done by selecting "Insert Date and Time" in the "Tools" menu - but this is laborious - a keystroke facility would be magic!

vanadium avatar
cn flag
As you will find in the duplicate question, you can implement that through a bash function. That does not use the plugin: it is not possible - curiously enough - to directly bind a shortcut to the plugin.
Duncan avatar
es flag
Great! Yes, this answers very nicely. Many thanks.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.