You'll need:
sudo dnf install tmux
sudo dnf install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Install ripgrep, bat and lsd with cargo:
cargo install lsd \
bat \
ripgrep
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
cd ~/.asdf
git checkout "$(git describe --abbrev=0 --tags)"
asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
asdf install nodejs 13.12.0
git clone https://github.com/rbenv/rbenv.git ~/.rbenv
mkdir -p "$(rbenv root)"/plugins
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build
rbenv install 2.6.6
https://github.com/neovim/neovim/releases/tag/v0.4.3
For vim:
curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
For NeoVim:
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
Run:
pip3 install pynvim
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
install xclip to make sure tmux-yank works:
sudo dnf install xclip
Run prefix
+I
to install the tmux plugins.
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
After all the above, the necessary symlinks are (assuming configuration files on the home folder):
$ mkdir ~/.config/nvim/lua
$ ln -s ~/config_files/nvim_config.lua ~/.config/nvim/lua/nvim_config.lua
$ ln -s ~/config_files/init.vim ~/.config/nvim/init.vim
$ ln -s ~/config_files/.zshrc ~/.zshrc
$ ln -s ~/config_files/.tmux.conf ~/.tmux.conf
$ ln -s ~/config_files/.p10k.zsh ~/.p10k.zsh
Also, for the patched Fira Code, download it here
If you have the following error:
[coc.nvim] javascript file not found, please compile the code or use release branch.
Here is the solution:
- Install
nodejs
>= 8.10.0 - Install
yarn
- Inside neovim, type the command:
:call coc#util#install()
- Restart neovim
- Inside neovim, run:
:PlugInstall