Neovim: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
<source lang="bash"> | |||
npm install tree-sitter-cli | |||
sudo snap install nvim --classic | |||
# astro nvim configuration and theming | |||
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim | |||
sudo apt install ripgrep | |||
# lazygit installation from github releases | |||
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*') | |||
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz" | |||
tar xf lazygit.tar.gz lazygit && sudo install lazygit /usr/local/bin | |||
rm -rf lazygit lazygit.tar.gz | |||
# graphical disk usage | |||
apt install gdu | |||
# bottom like htop | |||
sudo snap install bottom | |||
sudo snap connect bottom:mount-observe | |||
sudo snap connect bottom:hardware-observe | |||
sudo snap connect bottom:system-observe | |||
sudo snap connect bottom:process-control | |||
</source> | |||
==References== | ==References== | ||
Line 7: | Line 29: | ||
| valign="top" | | | valign="top" | | ||
* [https://github.com/AstroNvim/AstroNvim Neovim » AstroNvim » GitHub] | * [https://github.com/AstroNvim/AstroNvim Neovim » AstroNvim » GitHub] | ||
* [https://www.nerdfonts.com/font-downloads Neovim » Nerd Fonts] | |||
* [https://astronvim.com/ Neovim » AstroNvim] | * [https://astronvim.com/ Neovim » AstroNvim] | ||
* [https://github.com/neovim/neovim/wiki/Installing-Neovim Neovim » Install] | * [https://github.com/neovim/neovim/wiki/Installing-Neovim Neovim » Install] | ||
* [https://snapcraft.io/nvim | * [https://snapcraft.io/nvim Neovim » Snap] | ||
* [https://neovim.io/ Neovim] | * [https://neovim.io/ Neovim] | ||
Revision as of 01:45, 15 June 2023
npm install tree-sitter-cli
sudo snap install nvim --classic
# astro nvim configuration and theming
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
sudo apt install ripgrep
# lazygit installation from github releases
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | grep -Po '"tag_name": "v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit && sudo install lazygit /usr/local/bin
rm -rf lazygit lazygit.tar.gz
# graphical disk usage
apt install gdu
# bottom like htop
sudo snap install bottom
sudo snap connect bottom:mount-observe
sudo snap connect bottom:hardware-observe
sudo snap connect bottom:system-observe
sudo snap connect bottom:process-control
References
| ||