Skip to content

Fengzi21/nvim-ide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDE config for Neovim with Lua

This repo is based on Neovim from scratch and A Basic Stable IDE config for Neovim.

Features

  • To be added!

Install Dependencies

Python and Node.js client

# by pip
pip install pynvim

# by conda
conda install -c conda-forge pynvim

npm i -g neovim
# for Ubuntu
sudo apt-get update -y
sudo apt-get install ripgrep

# for macOS
brew install ripgrep

# or by cargo in all platforms
cargo install ripgrep

X11 support

# Ubuntu
sudo apt-get upgrade libstdc++6
sudo apt install xsel

Clipboard integration

# Ubuntu
sudo apt install wl-clipboard

# macOS
`pbcopy` should be builtin

# or by cargo
cargo install wl-clipboard-rs-tools
# Ubuntu
sudo apt install fd-find

# or by cargo
cargo install fd-find

# from source
wget https://github.com/sharkdp/fd/releases/download/v8.4.0/fd-v8.4.0-i686-unknown-linux-musl.tar.gz
tar -zxvf fd-v8.4.0-i686-unknown-linux-musl.tar.gz
cd fd-v8.4.0-i686-unknown-linux-musl
cp fd ~/.local/bin
cp fd.1 ~/.local/share/man/man1
mandb
# on Ubuntu
sudo apt install fasd -y

# from source
git clone [email protected]:clvv/fasd.git
cd fasd
PREFIX=$HOME/.local make install

Suppress clipboard: error invoking wl-cop: Failed to connect to a wayland server

  • Delete WAYLAND_DISPLAY environment variable

Suppress nvim-treesitter compilation error

conda install -c conda-forge gxx_linux-64

Use SSH for cloning plugins from GitHub

git config --global --add url."[email protected]:".insteadOf "https://github.com/"

Install language formatter

  • For lua: cargo install stylua
  • For python: conda install -c conda-forge black blue
  • For java: Use Prettier
  • For rust: Use rustfmt
  • For Fortran: conda install -c conda-forge fprettify

Install lazygit

on Windows

scoop bucket add extras
scoop install lazygit

on Ubuntu

LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[0-35.]+')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
sudo tar xf lazygit.tar.gz -C /usr/local/bin lazygit

on macOS

brew install lazygit
# or
sudo port install lazygit

or by Conda in all platform

conda install -c conda-forge lazygit

install htop

  1. Follow the install instruction
  2. By Conda
conda install -c conda-forge htop

Install Hack Nerd Font

Windows

choco install nerdfont-hack

Linux or macOS

  1. Follow the Quick Installation
  2. By getnf

Jupytext

conda install -c conda-forge jupytext

Transparent

  • Run TransparentEnable

Possible Issues

About

IDE config for Neovim with Lua

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published