neovim-ide

DockerHub

Table of Contents

  1. Introduction
  2. Features
  3. Requirements
  4. Installation
  5. Usage
  6. Contribution
  7. License
  8. Authors
  9. Acknowledgments

Introduction

Welcome to neovim-ide – an innovative Dockerized NeoVim configuration based on the LazyVim plugin. Whether you’re a seasoned developer or just starting out, our setup offers a powerful, flexible, and easy-to-customize development environment. Increase your productivity with integrated tools, efficient plugin management, and a clean interface that adapts to your needs. Dive into an optimized coding experience and discover the power of NeoVim like never before!

Features

Supported Systems and Architectures

Requirements

Installation

To install and use this Dockerized NeoVim setup, follow these steps:

  1. Clone this repository:
    git clone https://github.com/0x07cb/neovim-ide.git
    
  2. Build the Docker image

  3. Start the container.

Usage

To use this Dockerized NeoVim configuration as you would use the regular nvim command, follow these steps:

1. Start the Docker container

Use the following command to start the NeoVim container, mounting the current directory into the container:

docker run --rm -it \
    -v $(pwd):/home/appuser/data \
    neovim-ide:latest \
    nvim "$@"

Explanation of options:

2. Create an alias

To simplify usage, you can create an alias in your shell configuration file (.bashrc or .zshrc). Add the following line to your configuration file:

alias nvim-docker='docker run --rm -it -v $(pwd):/home/appuser/data neovim-ide:latest nvim'

After adding this alias, reload your shell configuration or restart your terminal.

3. Using the alias

You can now use nvim-docker as you would use nvim. For example:

# Open a file
nvim-docker file.txt

# Open multiple files
nvim-docker file1.txt file2.txt

# Open a directory
nvim-docker .

The current directory will automatically be mounted into the container, allowing you to access all files in the current directory and its subdirectories.

Example usage

Here are some example usages:

  1. Open a file in the current directory:
    nvim-docker my_file.py
    
  2. Open multiple files:
    nvim-docker file1.js file2.js file3.js
    
  3. Open a directory for navigation:
    nvim-docker .
    
  4. Use NeoVim options:
    nvim-docker -p file1.txt file2.txt
    

Notes

By following these steps, you can efficiently use the Dockerized version of NeoVim and enjoy a consistent, customizable development environment.

Contribution

We warmly welcome contributions to this project! Here’s how you can get involved:

  1. Fork the repository: Create your own copy of the project on GitHub.
  2. Create a branch: git checkout -b your-feature-name
  3. Commit your changes: git commit -am 'Added a new feature'
  4. Push to the branch: git push origin your-feature-name
  5. Open a Pull Request: Submit your changes for review.

Contribution Guidelines

We greatly appreciate your help in improving this project!

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Authors

Acknowledgments

We would like to warmly thank:

Your dedication and passion for improving development tools are a constant source of inspiration for this project.

English Français