Skip to main content
Update to new file locations
Source Link
FDinoff
  • 31.6k
  • 5
  • 79
  • 99

Neovim uses the xdg specification for their config files. If you are already using vim. (If you are transferring from an old version of neovim ~/.nvimrc is now $XDG_CONFIG_HOME/nvim/init.vim and ~/.nvim for configuration. If you are already using vimis now $XDG_CONFIG_HOME/nvim)

cdmkdir &&-p ${XDG_CONFIG_HOME:=$HOME/.config} ln -s .vimrc ~/.nvimrc &&vim $XDG_CONFIG_HOME/nvim ln -s ~/.vimvimrc .$XDG_CONFIG_HOME/nvim/init.vim 

should get you close to running with neovim (This might not work for all plugins but its a start).


All you should need in ~$XDG_CONFIG_HOME/nvim/init.nvimrcvim is the following

filetype plugin indent on syntax on 

to get syntax highlighting for ruby.

Neovim uses ~/.nvimrc and ~/.nvim for configuration. If you are already using vim

cd && ln -s .vimrc .nvimrc && ln -s .vim .nvim 

should get you close to running with neovim (This might not work for all plugins but its a start).


All you should need in ~/.nvimrc is the following

filetype plugin indent on syntax on 

to get syntax highlighting for ruby.

Neovim uses the xdg specification for their config files. If you are already using vim. (If you are transferring from an old version of neovim ~/.nvimrc is now $XDG_CONFIG_HOME/nvim/init.vim and ~/.nvim is now $XDG_CONFIG_HOME/nvim)

mkdir -p ${XDG_CONFIG_HOME:=$HOME/.config} ln -s ~/.vim $XDG_CONFIG_HOME/nvim ln -s ~/.vimrc $XDG_CONFIG_HOME/nvim/init.vim 

should get you close to running with neovim (This might not work for all plugins but its a start).


All you should need in $XDG_CONFIG_HOME/nvim/init.vim is the following

filetype plugin indent on syntax on 

to get syntax highlighting for ruby.

Source Link
FDinoff
  • 31.6k
  • 5
  • 79
  • 99

Neovim uses ~/.nvimrc and ~/.nvim for configuration. If you are already using vim

cd && ln -s .vimrc .nvimrc && ln -s .vim .nvim 

should get you close to running with neovim (This might not work for all plugins but its a start).


All you should need in ~/.nvimrc is the following

filetype plugin indent on syntax on 

to get syntax highlighting for ruby.