Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

the function map is not word ?like `map('z', 'gxt'); map('c', 'gxT');` it will say: Error found in settings: ReferenceError: mapkey is not defined

See original GitHub issue

just like the title; when I add the custom setting map map('z', 'gxt'); map('c', 'gxT'); it will say: Error found in settings: ReferenceError: mapkey is not defined this is my setting

// an example to create a new mapping `ctrl-y`
mapkey('<ctrl-y>', 'Show me the money', function() {
    Front.showPopup('a well-known phrase uttered by characters in the 1996 film Jerry Maguire (Escape to close).');

map('z', 'gxt');
map('c', 'gxT');
// an example to replace `T` with `gt`, click `Default mappings` to see how `T` works.
map('gt', 'T');
// an example to remove mapkey `Ctrl-i`

// set theme
settings.theme = `
.sk_theme {
    font-family: Input Sans Condensed, Charcoal, sans-serif;
    font-size: 10pt;
    background: #24272e;
    color: #abb2bf;
.sk_theme tbody {
    color: #fff;
.sk_theme input {
    color: #d0d0d0;
.sk_theme .url {
    color: #61afef;
.sk_theme .annotation {
    color: #56b6c2;
.sk_theme .omnibar_highlight {
    color: #528bff;
.sk_theme .omnibar_timestamp {
    color: #e5c07b;
.sk_theme .omnibar_visitcount {
    color: #98c379;
.sk_theme #sk_omnibarSearchResult ul li:nth-child(odd) {
    background: #303030;
.sk_theme #sk_omnibarSearchResult ul li.focused {
    background: #3e4452;
#sk_status, #sk_find {
    font-size: 20pt;
// click `Save` button to make above settings to take effect.</ctrl-i></ctrl-y>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:13

github_iconTop GitHub Comments

alswlcommented, Dec 29, 2021
const {
} = api;

This works for me, put the code block in the first part of configuration.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Uncaught reference Error: <mapkey> is not defined
And I have no idea why. "Geblockt" is a key from that map, type string. The error only shows up for the keys...
Read more >
Error Messages | Maps JavaScript API - Google Developers
This page describes the error messages that can be returned by the Maps JavaScript API. The Maps JavaScript API writes error and warning...
Read more >
What Does the Bible Say About Maps ? -
Bible verses about Maps. ... After these things the word of the Lord came to Abram in a vision: “Fear not, Abram, I...
Read more >
Fairplay skd contentId parse issue with getLicense - IssueHint
Issue Title Created Date Comment Count Updated Date Image Form Widget create new placeholder 0 2022‑07‑29 2022‑08‑17 Track stock vs Unstracked Stock 7 2022‑05‑05 2022‑10‑07 Singularity3.6.1...
Read more >
Enduring Word Bible Commentary Jeremiah Chapter 15
Even if Moses and Samuel were present to pray for Israel, it would not be more effective than the prayers of Jeremiah. c....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found