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

Default terminal does not include vi #8

Open
adambkaplan opened this issue Jul 16, 2020 · 1 comment
Open

Default terminal does not include vi #8

adambkaplan opened this issue Jul 16, 2020 · 1 comment

Comments

@adambkaplan
Copy link

The out-of-box integrated terminal does not include vi, which is the default text editor for git on many Linux distros. This leads to context switching if a user needs to do an interactive rebase, amend a commit, or other git actions that launch the text editor.

@gasinvein
Copy link
Member

gasinvein commented Jul 16, 2020

Well, there is no ideal solution for missing tools/libraries in flatpak SDKs. Generally we have three options:

  • Ask freedesktop-sdk team to add the missing tool if you believe it's useful in most cases
  • Build an extension like com.visualstudio.code.tool.vim, it'll be plugged into sandbox environment
  • Wrap vi from host, e.g. put somewhere on PATH a script that would call flatpak-spawn --host vi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants