Skip to content

Manual Installation

Otávio Schwanck dos Santos edited this page Sep 21, 2024 · 2 revisions

Manual Installation

  1. Install a nerd font and configure your terminal to use it. Nerd fonts Here
  2. Install the config
git clone [email protected]:otavioschwanck/mood-nvim.git ~/.config/nvim
  1. Install some dependencies:
npm install -g neovim diagnostic-languageserver
gem install solargraph neovim
  1. (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/
  1. (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
  1. 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
Clone this wiki locally