Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo apt install neovim
- #or nestest stable
- deb="https://github.com/neovim/neovim/releases/download/stable/nvim-linux64.deb"
- wget "$deb" -O /tmp/nvim-linux64.deb && sudo dpkg -i /tmp/nvim-linux64.deb
- mkdir -p ~/.config/nvim
- cd ~/.config/nvim
- wget "https://raw.githubusercontent.com/nvim-lua/kickstart.nvim/master/init.lua"
- sudo update-alternatives --config editor
- cat << EOF
- export EDITOR="nvim"
- export editor="$EDITOR"
- alias vim="$EDITOR"
- EOF
- echo 'require("fbk")' >> ~/.config/nvim/init.lua
- sudo ln -s /usr/bin/nvim /usr/local/bin/vim
- nvim
- #setup languages
- :Mason
- #purge nvim settings
- rm ~/.cache/nvim -fr
- rm ~/.config/nvim -fr
- rm ~/.local/share/nvim -fr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement