fig icon indicating copy to clipboard operation
fig copied to clipboard

Setup failed to save autocomplete setting

Open benfreke opened this issue 3 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

Description:

When I installed FIG, I chose to have the tab key navigate down the list and enter to insert.

But when I used it for the first time, this wasn't set up correctly.

app.preferredTerminal = "Terminal"
autocomplete.keybindings.insertCommonPrefixOrNavigateDown = "tab"
autocomplete.keybindings.insertSelected = "tab"
autocomplete.keybindings.tab = "insertCommonPrefix"
autocomplete.onlyShowOnTab = false
autocomplete.preferVerboseSuggestions = true
autocomplete.theme = "light"
integrations.experimental = true
integrations.iterm.disabled = true
telemetry.disabled = true

I had to manually change the key autocomplete.keybindings.tab to be insertCommonPrefixOrNavigateDown for this to work. I suspect the onboarding workflow might have mixed up the key and the value by looking at the output above.

Working fig settings all

app.preferredTerminal = "Terminal"
autocomplete.keybindings.insertCommonPrefixOrNavigateDown = "tab"
autocomplete.keybindings.insertSelected = "tab"
autocomplete.keybindings.tab = "insertCommonPrefixOrNavigateDown"
autocomplete.onlyShowOnTab = false
autocomplete.preferVerboseSuggestions = true
autocomplete.theme = "light"
integrations.experimental = true
integrations.iterm.disabled = true
telemetry.disabled = true

Environment

fig-details:
  - desktop-version: Version 1.0.62 (B542) [Australian]
hardware-info:
  - model: MacBook Pro
  - model-id: MacBookPro18,3
  - chip-id: Apple M1 Pro
  - cores: 8 (6 performance and 2 efficiency)
  - mem: 16 GB
os-info:
  - macOS 12.6.0 (21G115)
environment:
  - shell: /bin/zsh
  - terminal: terminal
  - cwd: /Volumes/Development/personal/api
  - exe-path: /opt/homebrew/bin/fig
  - install-method: brew
  - env-vars:
    - FIG_INTEGRATION_VERSION: 8
    - FIG_TERM: 1
    - FIG_TERM_VERSION: 2.5.3
    - PATH: /opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/benfreke/.fig/bin:/Users/benfreke/.local/bin:/Users/benfreke/Library/Application Support/JetBrains/Toolbox/scripts
    - SHELL: /bin/zsh
    - TERM: xterm-256color
    - TERM_SESSION_ID: 777e1c18-75b2-49af-9678-9bf788509165
    - FIG_PID: 13343
    - FIG_PARENT: 777e1c18-75b2-49af-9678-9bf788509165
    - FIG_SET_PARENT: 777e1c18-75b2-49af-9678-9bf788509165
- integrations:
  - SSH: false
  - TMUX: false
  - iTerm: application is not present.
  - Hyper: application is not present.
  - Visual Studio Code: installed!
  - Docker: true

benfreke avatar Oct 12 '22 06:10 benfreke