question-mark
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.

Bug: Command-ids should not contain spaces

See original GitHub issue

One of the recent updates introduces the creation of custom quick switchers (which was awesome, btw!).

However, with the new commands, they now by default contain spaces (e.g. “Recent Search”). These are carried over to the command id: obsidian-another-quick-switcher:search-command_Recent search

having spaces in the command id is a problem, since it prevents assigning the command in the vimrc plugin via exmap:

" go = open quick Switcher
exmap quickSwitcher obcommand obsidian-another-quick-switcher:search-command_Recent search
nmap go :quickSwitcher
vmap go :quickSwitcher

Replacing all spaces in the command-id with hyphens would fix this issue.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tadashi-aikawacommented, Sep 24, 2022

Thanks. Fix in v7.0.1 👍

1reaction
tadashi-aikawacommented, Sep 3, 2022

@chrisgrieser Released in 7.0.0-beta1 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

raw_exec driver doesn't allow space in command field, even ...
I'm trying to figure out what should be the right fix for that, but I feel that the best way is to simply...
Read more >
bug #712: GNU make can't handle spaces in pathnames
So, I'm reopening this bug. However, it's well-known that GNU make simply does not handle files with spaces (or colons for that matter)...
Read more >
git commands fail with spaces in path - Stack Overflow
I can't checkout any of them because of that space in the file path after legacy.I've tried putting the file path in ""...
Read more >
Long filenames or paths with spaces require quotation marks
Use quotation marks when specifying long filenames or paths with spaces. For example, typing the copy c:\my file name d:\my new file name ......
Read more >
How To Deal With Spaces in Paths on Mac and Linux - Medium
Method 2: Escaping Spaces With Backslash​​ A second, more “hardcore” method to ignore spaces uses what are called escape characters. Escape ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found