Insomnia: [BUG] Can't change keyboard binding for "Show Autocomplete"

Created on 8 Aug 2019  路  9Comments  路  Source: Kong/insomnia

  • Insomnia Version: 6.6.2
  • Operating System: macOS Mojave 10.14.5

Details

I use Alfred bound to ^-Space and it's too ingrained in my workflow to give up. I would like to change the the "Show Autocomplete" shortcut to something else, but no other shortcuts will trigger it. Interestingly it seems this key was the initial inspiration for customizable keybindings - #1162

Steps to replicate

  • Open keyboard preferences.
  • Delete the existing "Show Autocomplete" shortcut.
  • Deleted shortcut does not trigger autocomplete, as expected.
  • Add Shift-^-Space, or Command-Shift-A, or anything else as the shortcut.
  • New shortcut does not trigger autocomplete.
  • Add ^-Space as the shortcut, or use reset to accomplish the same.
  • Original shortcut triggers autocomplete, as expected.
accepted

Most helpful comment

Ah thank you @brandonarbini from there I was able to figure out environment variables using double braces e.g. {{ base_url }} inside the address bar. At least makes Insomnia usable for me in the meantime!

All 9 comments

馃憢 Thanks for opening your first issue! If you're reporting a 馃悶 bug, please make sure
you include steps to reproduce it. If you're requesting a feature 馃巵, please provide real
use cases that would benefit. 馃應

To help make this a smooth process, please be sure you have first read the
contributing guidelines.

Ah yes, thanks for bringing this up. It looks like that hotkey isn't hooked up to anything at the moment. The ctrl-Space value is still hardcoded into the Codemirror options.

I use Ctrl+Space for Alfred, so this makes autocomplete unusable for me in Insomnia.

I'm using Ctrl+Space for Spotlight, so can't use Show Autocomplete too.
Is there any way to paste vars without keyboard shortcut? Can't use Insomnia at all without that.

I'm in the same situation. I'd love to see both keybindings option fixed and an alternate method of inserting variables/tags (maybe right click?).

I figured out how to enter them manually...like so: {% response 'body', 'req_78c3efdb0ffa49c79d23c77906e4b5ed', '$.data.transferToken.token', 'always' %}. I hope this helps @gevial @DanielPower @spro @gschier.

Ah thank you @brandonarbini from there I was able to figure out environment variables using double braces e.g. {{ base_url }} inside the address bar. At least makes Insomnia usable for me in the meantime!

I've managed to take a crack at this and have managed to get keyboard shortcuts working but it requires reload of Insomnia at the moment https://github.com/Kong/insomnia/pull/2726

Awesome, and the "you have to reload" text discussed in the pull request is certainly an improvement over the current experience of changing the shortcut and nothing happening.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

misterpickypants picture misterpickypants  路  3Comments

artoodeeto picture artoodeeto  路  4Comments

dextermb picture dextermb  路  3Comments

claratorres picture claratorres  路  3Comments

sapeish picture sapeish  路  4Comments