-
Notifications
You must be signed in to change notification settings - Fork 1
FAQ
Charles Chiu edited this page Oct 14, 2022
·
9 revisions
To fix above error, put below lines in your ~/.bashrc.
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8If you want to use Neovim for some (or all) of the editor alternatives, use the following commands:
sudo update-alternatives --install /usr/bin/vi vi /usr/bin/nvim 60
sudo update-alternatives --config vi
sudo update-alternatives --install /usr/bin/vim vim /usr/bin/nvim 60
sudo update-alternatives --config vim
sudo update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 60
sudo update-alternatives --config editoror
In .bashrc:
alias vim='nvim'
export EDITOR='nvim'※ NOTE: However, some special interfaces, like view for nvim -R, are not supported. See neovim/#1646 & neovim/#2008 for more info.