Are you using tmux and started NyaoVim in tmux? In the case, you need to use reattach-to-user-namespace utility.
After NyaoVim shows white screen, could you please input enter key. I think NyaoVim will restore screen. Then please check :message
. I think some errors are reported.
This problem occurs because Neovim frontend can't handle error output before showing UI. Neovim 0.2 will resolve this.
NyaoVim disables swapfile because Neovim frontend can't handle swap file message on start up. The reason is the same as above question, so Neovim 0.2 will resolve this.
Please ensure that nvim
command exists in $PATH
environment variable. If you started NyaoVim via non-npm package (e.g. NyaoVim.app), $PATH
is not set up as started in shell. Please $PATH
in NyaoVim directly as below.
- Start NyaoVim
- Open Chrome DevTools from menu item 'Open DevTools'
- Enter
process.env.PATH
to console
If you don't want to add nvim
's directory path to $PATH
, please specify the absolute path to nvim
in <neovim-editor>
element as below.
<neovim-editor
id="nyaovim-editor"
argv="[[argv]]"
nvim-cmd="/custom/path/to/nvim"
></neovim-editor>
Here! (Sorry for Japanese in comments.)
From OS X 10.8, macOS enables the 'Character Picker' feature. If you see a weird popup when holding any key, please see the output of following command:
$ defaults read -g ApplePressAndHoldEnabled
If it shows true
, you need to disable the feature.
To disable it globally, please try following command
$ defaults write -g ApplePressAndHoldEnabled -bool true
If you install NyaoVim.app
, you can disable it only in NyaoVim with following command.
Please note that this is not available if you install NyaoVim via npm.
$ defaults write -app NyaoVim ApplePressAndHoldEnabled -bool true