Neovim: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
(Created page with " sudo snap install nvim --classic git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim nvim ==References== {| | valign="top" | * [https://github.com/As...")
 
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
sudo snap install nvim --classic
<syntaxhighlight lang="bash">
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
npm install tree-sitter-cli
nvim
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"
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
rm -rf lazygit lazygit.tar.gz
 
# g disk usages
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
</syntaxhighlight>


==References==
==References==
{|
{|
| valign="top" |
| valign="top" |
* [https://github.com/AstroNvim/AstroNvim Neovim » AstroNvim » SCM]
* [https://github.com/AstroNvim/AstroNvim Neovim » AstroNvim » GitHub]
* [https://astronvim.com/ Neovim » AstroNvim]
* [https://astronvim.com/ Neovim » AstroNvim » Install]
* [http://neovim.io/doc/user/quickref.html Neovim » Quick References]
* [https://www.shortcutfoo.com/app/dojos/neovim/cheatsheet Neovim » Cheatsheet]
* [https://www.nerdfonts.com/font-downloads Neovim » Nerd Fonts]
* [https://alpha2phi.medium.com/neovim-for-beginners-cheatsheet-and-coding-assistant-137d5a15c934 Neovim » Beginners]
* [https://github.com/neovim/neovim/wiki/Installing-Neovim Neovim » Install]
* [https://github.com/neovim/neovim/wiki/Installing-Neovim Neovim » Install]
* [https://snapcraft.io/nvim Neovim » Snap]
* [https://snapcraft.io/nvim Neovim » Snap]
* [https://neovim.io/ Neovim]
* [https://neovim.io/ Neovim]



Latest revision as of 02:26, 1 August 2024

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"
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
rm -rf lazygit lazygit.tar.gz

# g disk usages
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