Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terminal spacemacs does not let TAB auto-complete shell commands (ansi/multi-term) #10073

Open
jpstone opened this issue Jan 4, 2018 · 6 comments
Labels
- Bug tracker - Auto-completion Running in terminal stale marked as a stale issue/pr (usually by a bot)

Comments

@jpstone
Copy link
Contributor

jpstone commented Jan 4, 2018

Description :octocat:

Using spacemacs in iTerm/Terminal.app, TAB does not auto-complete shell commands when in ansi/multi-term while in INSERT mode. If I enter normal mode, it completes fine. When in insert mode, it brings up helm Hmm.

This behavior does not exist for spacemacs GUI.

I think the behavior should be the same for terminal spacemacs as it is for the GUI.

Reproduction guide 🪲

  • Start Emacs in a terminal
  • Open ansi/multi-term
  • Try to auto-complete shell commmands while in insert mode

Observed behaviour: 👀 💔

Instead of auto-completing, it brings up a helm menu.

Expected behaviour: ❤️ 😄

Auto-completion!

System Info 💻

  • OS: darwin
  • Emacs: 25.1.1
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 7fa68a4)
  • Graphic display: nil
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(yaml csv haskell elixir
      (spell-checking :variables spell-checking-enable-by-default nil spell-checking-enable-auto-dictionary t =enable-flyspell-auto-completion= t)
      (erc :variables erc-server-list
           '(("irc.freenode.net" :port "6697" :ssl t :nick "jpstone")))
      (shell :variables shell-default-position 'full)
      (markdown :variables markdown-live-preview-engine 'vmd)
      (c-c++ :variables c-c++-enable-clang-support t)
      (auto-completion :variables auto-completion-tab-key-behavior nil auto-completion-enable-sort-by-usage t auto-completion-enable-help-tooltip nil auto-completion-enable-snippets-in-popup nil)
      html helm better-defaults emacs-lisp git markdown org syntax-checking version-control themes-megapack gnus fasd react jpstone-eslintd jpstone-projectile jpstone-themes)
  • System configuration features: NOTIFY ACL LIBXML2 ZLIB TOOLKIT_SCROLL_BARS
@htc502
Copy link

htc502 commented May 21, 2018

up for the same needs. 😄

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 28, 2020
@pyrofolium
Copy link

It's valid man tab completion does not work for me in ansi-term

@duianto duianto removed the stale marked as a stale issue/pr (usually by a bot) label Mar 22, 2020
@apmarshall
Copy link

Have we verified if this is a spacemacs configuration issue or something inherent to the difference between terminal’s and GUIs?

@lebensterben
Copy link
Collaborator

This is not a bug of emacs or spacemacs.

I'm using emacs 27.1 and spacemacs develop branch.
Tab completion is working for

  • Both zsh and bash
  • In xterm, gnome-terminal, and alacritty
  • In ansi-term, and vterm

Check your own setup.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
- Bug tracker - Auto-completion Running in terminal stale marked as a stale issue/pr (usually by a bot)
Projects
None yet
Development

No branches or pull requests

7 participants