You are not logged in.

#1 2016-01-18 06:07:51

charli3
Member
Registered: 2015-06-01
Posts: 45

[SOLVED] Where does Neovim source it's global configs?

I'm running neovim and I'm wondering if there is a global config file that is sourced like /etc/vimrc for vim?  The neovim specific :help files refer to the local config at ~/.config/nvim/init.vim but precious little is mentioned about where global configs are sourced...actually it mentions /etc/vimrc and the $VIMRUNTIME but it appears much of the :help refers to vim and not neovim specific config paths. I edited /etc/vimrc just to check and no change when I ran :

# sudo nvim

Is there a global config file that is sourced by neovim?

A google search was unhelpful. 

Thanks in advance.

Last edited by charli3 (2016-01-19 00:04:03)

Offline

#2 2016-01-18 06:17:37

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Where does Neovim source it's global configs?

/etc/xdg/nvim/init.vim

Offline

#3 2016-01-18 06:22:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Where does Neovim source it's global configs?

pacman -Ql neovim

Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2016-01-18 06:25:04

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,466

Re: [SOLVED] Where does Neovim source it's global configs?

jasonwryan wrote:
pacman -Ql neovim

Wouldn't help. The file isn't included in the package.

Last edited by Scimmia (2016-01-18 06:29:43)

Offline

#5 2016-01-18 06:38:15

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Where does Neovim source it's global configs?

That seems odd... The approach still applies, though.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-01-19 00:01:45

charli3
Member
Registered: 2015-06-01
Posts: 45

Re: [SOLVED] Where does Neovim source it's global configs?

@Scimmia Thanks!

Last edited by charli3 (2016-01-19 00:04:22)

Offline

Board footer

Powered by FluxBB