fig icon indicating copy to clipboard operation
fig copied to clipboard

Autocomplete keybinding settings in UI writes wrong configuration to settings.json, especially when setting multiple bindings for same action

Open matthewgapp opened this issue 2 years ago • 0 comments

Sanity checks

  • [X] I have searched github.com/withfig/fig/issues and there are no duplicates of my issue
  • [X] I have run fig doctor in the affected terminal session
  • [X] I have run fig restart and tested again (tell us if that fixed it)

Issue Details

I wasn't able to configure Fig so that enter and tab would select the current auto-complete item. The UI writes black magic into the settings.json which is found in ~/.fig

Instead, I deleted all the configuration stuff that the UI inserted and created entries for tab and enter.

image

Environment

fig-details:
  - desktop-version: Version 1.0.61 (B528) [U.S.]
hardware-info:
  - model: MacBook Pro
  - model-id: MacBookPro18,4
  - chip-id: Apple M1 Max
  - cores: 10 (8 performance and 2 efficiency)
  - mem: 32 GB
os-info:
  - macOS 12.5.1 (21G83)
environment:
  - shell: /bin/zsh
  - terminal: vscode
  - cwd: /Users/matthewgapp
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIG_INTEGRATION_VERSION: 8
    - FIG_PID: 4149
    - FIG_TERM: 1
    - FIG_TERM_VERSION: 5.2.0
    - PATH: /Users/matthewgapp/Library/Caches/fnm_multishells/4209_1664477720234/bin:/Users/matthewgapp/go/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/matthewgapp/Library/Caches/fnm_multishells/2594_1664476935696/bin:/Users/matthewgapp/go/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/matthewgapp/.cargo/bin:/Users/matthewgapp/.fig/bin:/Users/matthewgapp/.local/bin:/Users/matthewgapp/.pub-cache/bin:/opt/homebrew/opt/fzf/bin:/Users/matthewgapp/.pub-cache/bin
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - TERM_SESSION_ID: 8a7d4caa-b969-4091-9595-81c465a405b2
- integrations:
  - SSH: false
  - TMUX: false
  - iTerm: installed!
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: false

matthewgapp avatar Sep 29 '22 19:09 matthewgapp