28 lines
789 B
Markdown
28 lines
789 B
Markdown
# vim
|
|
|
|
## install
|
|
|
|
```bash
|
|
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.appimage
|
|
|
|
mv nvim.appimage /usr/local/bin/nvim
|
|
sudo apt install fzf
|
|
sudo apt install fd-find
|
|
sudo apt install luarocks ripgrep
|
|
```
|
|
|
|
## install lazygit
|
|
|
|
```bash
|
|
arch
|
|
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
|
|
# for x86
|
|
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
|
|
# for aarch64
|
|
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_arm64.tar.gz"
|
|
tar xf lazygit.tar.gz lazygit
|
|
sudo install lazygit /usr/local/bin
|
|
```
|
|
|
|
## setup
|