rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

where is the gui config file? #209

Closed finviman closed 8 years ago

finviman commented 8 years ago

sorry it's not a issue,but like macvim there is a .gvimrc for gui, how do i know the gui config file for neovim-dot-app?

rogual commented 8 years ago

It's the same file as for Neovim itself, which is ~/.config/nvim/init.vim

As for what to put in the file, see https://github.com/rogual/neovim-dot-app/blob/master/res/nvimrc

Starting on line 12 you can see the definitions of all gui-specific functions. Call these with call statements in your vimrc to configure.

You can use if exists('neovim_dot_app') to only run stuff when in Neovim.app, if you want your file to still be compatible with terminal Neovim.

finviman commented 8 years ago

OK,thank you,i'll try it. it's quite different from the .gvimrc.