neovimのインストール
yajs.vim
を使っていると、パフォーマンスがあんまりよろしくないので、neovimを入れてみる。
yajs.vim is not good on performance. If you are using a slower computer. You might feel lag while moving cursor. You can try disable cursorline and colorcolumn, or reduce the number of synmaxcol. Another possible solution is change to neovim
$ brew install neovim
fishの場合インストール後に以下を実行する。
echo 'set -g fish_user_paths "/usr/local/opt/gettext/bin" $fish_user_paths' >> ~/.config/fish/config.fish
nvim
で起動できるようになってる。
$ nvim
.vimrc
をneovimの設定ファイルとする。neovimの設定ファイルとディレクトリの置き場 - neovim/vim入門 を参考にして.vimrc
のシンボリックリンクを貼って共有する。
$ echo 'set -x XDG_CONFIG_HOME ~/.config' >> ~/.config/fish/config.fish $ ln -s ~/.vim ~/.config/nvim $ ln -s ~/.vimrc ~/.config/nvim/init.vim