-
Notifications
You must be signed in to change notification settings - Fork 13
Manual Installation
Otávio Schwanck dos Santos edited this page Sep 21, 2024
·
2 revisions
- Install a nerd font and configure your terminal to use it. Nerd fonts Here
- Install the config
git clone [email protected]:otavioschwanck/mood-nvim.git ~/.config/nvim
- Install some dependencies:
npm install -g neovim diagnostic-languageserver
gem install solargraph neovim
- (a) Ubuntu Steps
sudo apt install python3-pip
python3 -m pip install neovim-remote pynvim
Install neovim 0.9.5 using bob: https://github.com/MordechaiHadad/bob
bash
export VER="0.34" # you can search for a more recent one
wget -O lazygit.tgz https://github.com/jesseduffield/lazygit/releases/download/v${VER}/lazygit_${VER}_Linux_x86_64.tar.gz
tar xvf lazygit.tgz
sudo mv lazygit /usr/local/bin/
- (b) Mac Steps
brew install jesseduffield/lazygit/lazygit
brew install lazygit sqlite
Install neovim 0.9.5 using bob: https://github.com/MordechaiHadad/bob
python -m pip install neovim-remote pynvim # Can be python3 too, maybe you need to install pip
- Add to your .zshrc ou .bashrc:
if [ -n "$NVIM_LISTEN_ADDRESS" ]; then
alias nvim=nvr -cc split --remote-wait +'set bufhidden=wipe'
fi
if [ -n "$NVIM_LISTEN_ADDRESS" ]; then
export VISUAL="nvr -cc split --remote-wait +'set bufhidden=wipe'"
export EDITOR="nvr -cc split --remote-wait +'set bufhidden=wipe'"
else
export VISUAL="nvim"
export EDITOR="nvim"
fi