Giter Site home page Giter Site logo

dot's Introduction

Coding Environment Setup

This guide will help you set up a coding environment on both Linux and macOS systems.

Initial Setup

  1. Run the Setup Script:

    For Linux, execute the linux.sh script:

    ./linux.sh

    For macOS, execute the mac.sh script:

    ./mac.sh

    These scripts will install Neovim, tmux, and other necessary packages.

Neovim Configuration

  1. Install Neovim Plugins:

    Trigger the installation of Neovim plugins by opening Neovim:

    nvim somefile

    Within Neovim, run the following command to synchronize the plugins:

    :PackerSync

    Wait for the process to complete before exiting Neovim.

Tmux Configuration

  1. Reload tmux Configuration:

    Start or attach to a tmux session:

    tmux

    Inside the tmux session, reload the configuration:

    Ctrl+b :source ~/.tmux.conf

    (Note: The default prefix key in tmux is Ctrl+b, unless you have customized it to Ctrl+a or another combination.)

  2. Install tmux Plugins:

    Install the plugins specified in .tmux.conf:

    Ctrl+b I

    This command will download and apply the tmux plugins.

GitHub Copilot Setup

  1. Authenticate GitHub Copilot CLI:

    Run the following command to authenticate the GitHub Copilot CLI:

    github-copilot-cli auth

    Follow the prompts to complete the authentication process.

  2. Configure GitHub Copilot in Zsh:

    Add the GitHub Copilot CLI alias to your .zshrc and source it:

    echo 'eval "$(github-copilot-cli alias -- "$0")"' >> ~/.zshrc && source ~/.zshrc

After completing these steps, your coding environment, including Neovim, tmux, and GitHub Copilot, should be fully configured and ready for use. Customize your linux.sh or mac.sh, .tmux.conf, and Neovim configuration files as needed to tailor the environment to your preferences.

dot's People

Contributors

aladdinpersson avatar metame-none avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.