Hello!
Welcome to my repository of configuration files to Linux Systems!
Nowadays, I'm using Linux, at this time, Ubuntu 22.04 LTS in my main working machine.
sudo apt update && sudo apt install git curl build-essential -y
# Dowload and Install
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# Include variables to PATH
echo -e 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
# Reload .bashrc with variables
source ~/.bashrc
# Install the last LTS version of Node.js
nvm install --lts
#Alternativelly, install Yarn
npm install --global yarn
Whichever is, Vim or Neovim, both are great tools, which do basic the same thing.
# Install Vim with apt
sudo apt update && sudo apt install vim -y
# Installing vim-plug plugin manager
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# Backup your .vimrc file
cp ~/.vimrc ~/.vimrcbkp
# Download the configuration file
curl https://raw.githubusercontent.com/cezarmzz/dotfiles/main/.vimrc > ~/.vimrc
# Installing NeoVim & xclip to clipboard
sudo apt update && sudo apt install neovim xclip -y
# Installing vim-plug plugin manager
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# Backup your nvim folder file
cp -R ~/.config/nvim ~/.config/nvim_bkp
# Download configuration files
sh -c 'curl -fLo ~/.config/nvim/init.vim --create-dirs \
https://raw.githubusercontent.com/cezarmezzalira/dotfiles/main/.config/nvim/init.vim'
sh -c 'curl -fLo ~/.config/nvim/coc-settings.json --create-dirs \
https://raw.githubusercontent.com/cezarmezzalira/dotfiles/main/.config/nvim/coc-settings.json'
So now, open vim with command vim
and type :PlugInstall
and wait all plugins end up the installation.
Close vim and open again. If everything has installed, you now ready to start your development with Node.js and Vim :)
Please, if you enjoy, pick a star to this repo!