AstroChat is an AstroVim plugin that adds GitHub Copilot-like functionality.
- Seamless integration with AstroVim
- GitHub Copilot-like code suggestions
- Easy to configure and use
- AI-powered code predictions for your current line
- HTTPS authentication that opens your browser for login
- Ensure you have AstroVim installed
- Supported OS: macOS, Linux
- Open your terminal.
- Clone the repository:
git clone https://github.com/Cool-Coder174/AstroChat.git
- Navigate to the AstroChat directory:
cd AstroChat - Run the installation script:
./install.sh
- Add the plugin to your AstroVim configuration:
Plug 'AstroChat' - Reload your AstroVim configuration:
:source $MYVIMRC
- Open your terminal.
- Clone the repository:
git clone https://github.com/Cool-Coder174/AstroChat.git
- Navigate to the AstroChat directory:
cd AstroChat - Run the installation script:
./install.sh
- Add the plugin to your AstroVim configuration:
Plug 'Cool-Coder174/AstroChat' - Reload your AstroVim configuration:
:source $MYVIMRC
- Run
:AstroChatAuthto log in via your default browser and paste the token back into Neovim. - Start typing in AstroVim, and AstroChat will provide code suggestions similar to GitHub Copilot.
- Press
<C-y>in insert mode or run:AstroChatPredictto request an AI prediction for the current line. - Use the configured key bindings to accept or reject suggestions.
Contributions are welcome! Please open an issue or submit a pull request on GitHub.
This project is licensed under the MIT License.
First off, thank you for considering contributing to this project! Your support helps make it better.
If you encounter any issues:
- Search Existing Issues: Before opening a new issue, please check if it has already been reported.
- Open a New Issue: If it hasn't been reported, open a new issue and provide detailed information:
- Steps to reproduce the problem.
- Expected behavior.
- Actual behavior.
- Screenshots or logs, if applicable.
To propose improvements:
- Search Existing Discussions: Ensure the enhancement hasn't been suggested already.
- Open a New Discussion: If not found, start a new discussion detailing:
- The enhancement you have in mind.
- Why it would be beneficial.
- Any implementation ideas.
For code contributions:
- Fork the Repository: Create your own copy of the repository.
- Create a New Branch: Use a descriptive name for your branch (e.g.,
feature/add-auth-command). - Make Changes: Implement your changes with clear and concise code.
- Commit Changes: Write meaningful commit messages.
- Push to Your Fork: Upload your changes to your GitHub account.
- Open a Pull Request: Submit a pull request to the main repository:
- Describe the changes you've made.
- Reference any related issues or discussions.
Please adhere to our Code of Conduct in all interactions.