How do I pass options to neovim
Since nvim-qt has its own options, it will get confused if you simply provide
it with nvim options. You need to specify nvim options after
--. For example,
to open a file using specific configuration
file, use the following command:
nvim-qt some_file.txt -- -u init.vim
Where should I put
Nvim-qt config file is called
ginit.vim and you should put it under the same
directory where nvim configuration file is. The directory is something like
How to turn off the GUI tabline?
The GUI tabline of in nvim-qt is ugly. We can use
GuiTabline 0 inside
ginit.vim to disable GUI tabline.
How to turn off GUI completion menu
The GUI completion menu is also ugly and too long, since it shows the detailed docstrings of object methods.
You can disable it by using the following setting in
How to reduce line space?
GuiLinespace to control the line space in nvim-qt, for example,
How to change the font used?
You can change the font Nvim-qt use by default. To check the default font used,
GuiFont command inside nvim-qt without argument. On my system, the output
According to nvim-qt documentation, the following attributes for font are available:
hXX - height is XX in points b - bold weight l - light weight i - italic
You can chain different attribute with
: character. For example, to use
Hack in 10 point and light weight, use the
After issuing the above command, you may see the following warning message:
Warning: Font “Hack” reports bad fixed pitch metrics.
To suppress this message, use the
bang version of
How to open nvim-qt with maximized window?
Add the following settings to your
License CC BY-NC-ND 4.0