Skip to content

Instantly share code, notes, and snippets.

@samhotchkiss
Created November 7, 2018 19:34
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save samhotchkiss/e11dade348764682c82279ac24597862 to your computer and use it in GitHub Desktop.
Save samhotchkiss/e11dade348764682c82279ac24597862 to your computer and use it in GitHub Desktop.
{"globalFilters":"[\"-https:#mail.google.com/*\",\"-https:#reader.google.com/*\",\"*\"]","hotkeys":"[[\"22\",\"j\",\"Next Email\",\"if ( jQuery(\\\".messages-scroll-container .conversation-row.selected\\\").not('.private-hoverlay__child').length > 0 ) {\\njQuery('.conversation-row.selected + .conversation-row').click();\\n} else {\\njQuery(\\\".conversation-row:not(.private-hoverlay__child)\\\").first().click();\\n}\",[\"https://app.hubspot.com/live-messages/*\"]],[\"23\",\"k\",\"Prev Email\",\"jQuery('.conversation-row.selected').prev('.conversation-row').click();\",[\"https://app.hubspot.com/live-messages/*\"]],[\"24\",\"c\",\"Close Email\",\"jQuery( \\\"button:contains('Mark as closed')\\\" ).click();\\njQuery('.conversation-row.unread').click();\",[\"https://app.hubspot.com/live-messages/*\"]],[\"25\",\"a\",\"Assign Email\",\"jQuery('.reassignment-selected-agent').click();\\njQuery(\\\"input[type='search']\\\").val('');\",[\"https://app.hubspot.com/live-messages/*\"]],[\"26\",\"u\",\"Unassigned Messages\",\"jQuery(\\\"div[data-selenium-view-name=UNASSIGNED]\\\").click();\",[\"https://app.hubspot.com/live-messages/*\"]],[\"27\",\"m\",\"My Messages\",\"jQuery(\\\"div[data-selenium-view-name=ASSIGNED_TO_ME]\\\").click();\",[\"https://app.hubspot.com/live-messages/*\"]],[\"28\",\"l\",\"All Messages\",\"jQuery(\\\"div[data-selenium-view-name=ALL_CONVERSATIONS]\\\").click();\",[\"https://app.hubspot.com/live-messages/*\"]],[\"29\",\"/\",\"Search\",\"jQuery('.navSearch').addClass('active');\\n\\nsetTimeout(function(){\\n jQuery('.navSearch-input').focus().val('');\\n}, 500);\",[\"https://app.hubspot.com/*\"]],[\"30\",\"gm\",\"Go to HS Inbox\",\"location = \\\"https://app.hubspot.com/live-messages/\\\";\",[\"https://app.hubspot.com/*\"]],[\"31\",\"gd\",\"Go to HS Deals\",\"location = \\\"https://app.hubspot.com/contacts/YOUR_ACCOUNT_ID/deals/\\\";\",[\"https://app.hubspot.com/*\"]],[\"32\",\"r\",\"Reply to Email\",\"jQuery( \\\"button[data-test-id=email-footer-reply-button]\\\" ).click();\\njQuery( \\\".DraftEditor-root\\\" ).click();\\n\",[\"https://app.hubspot.com/live-messages/*\"]],[\"33\",\"gt\",\"Go to HS Tickets\",\"location = \\\"https://app.hubspot.com/contacts/YOUR_ACCOUNT_ID/tickets\\\";\",[\"https://app.hubspot.com/*\"]],[\"34\",\"'\",\"Save\",\"jQuery( \\\"button[data-selenium-test=UniversalSaveBar-button-primary]\\\" ).click();\",[\"https://app.hubspot.com/*\"]]]"}
@samhotchkiss
Copy link
Author

This is an export/import block from the Keyboard-Fu Chrome Extension which adds some keyboard shortcuts to HubSpot.

The shortcuts that work everywhere in HubSpot are:
gm - Go to Conversations ("Go Messages")
gd - Go to Deals
gt - Go to Tickets
/ - Search (opens the search box and puts the input there)
' - Save (it's right next to the return key) -- note that this doesn't work if you're in a text area, so I usually tab or click anywhere then '

Then these shortcuts only work in the conversation inbox:
j - Next Message
k - Prev Message
c - Mark as closed
a - Assign email (pops up the assign box, then you can arrow up/down and press return to assign)
r - Reply to email (opens the reply box and scrolls you to it, but you still have to click in it, haven't figured that out yet)
u - Go to "Unassigned Conversations" view
a - Go to "All Conversations" view
m - Go to "My Conversations" view

It's not perfect, but it's made a big usability difference for me until HubSpot gets around to implementing them properly.

@mdsidhpura
Copy link

What is the shortcut key for publishing file in hubspot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment