rhysd / NyaoVim

Web-enhanced Extensible Neovim Frontend
Other
2.21k stars 57 forks source link

problem with dead keys #111

Open ghost opened 7 years ago

ghost commented 7 years ago

Expected Behavior

Inserting dead keys characters like "\~" or "`" would work as normal.

Actual Behavior

Inserting dead keys characters need two others characters to appear on the screen. For example, when I want to edit a file in the home directory, the "\~" appears only after after the third characters (at the "f" in ":e \~/filename"). The biggest annoyance is with the backtick when editing markdown (for code insertion") because it does works with \<SPACE> for the "`" after the code. So, I have to write some gibberish after the backtick in order for it to appear on the screen, then deleting the gibberish and continue my text.

Steps to Reproduce (including precondition)

Install Nyaovim on MacOS following README.md Open Nyaovim Edit a file in Home directory using "\~" or edit some code in a markdown file.

Your Environment

Additional Comments (if any)

I have two warnings when installing Nyaovim:

$ npm install -g nyaovim
npm WARN deprecated electron-prebuilt@1.4.13: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
/usr/local/bin/nyaovim -> /usr/local/lib/node_modules/nyaovim/bin/cli.js
/usr/local/lib
└─┬ nyaovim@0.0.22
  ├─┬ electron-prebuilt@1.4.13
  │ └─┬ electron-download@3.2.0
  │   ├── debug@2.6.0
  │   └─┬ nugget@2.0.1
  │     └─┬ request@2.79.0
  │       └─┬ har-validator@2.0.6
  │         └─┬ is-my-json-valid@2.15.0
  │           └── jsonpointer@4.0.1
  └─┬ promised-neovim-client@2.0.2
    └─┬ msgpack5rpc@1.0.2
      └─┬ msgpack5@3.4.1
        └─┬ bl@1.2.0
          └── readable-stream@2.2.2

npm WARN flux@3.1.2 requires a peer of react@^15.0.2 but none was installed.

This is a great project! Thanks!

frmh0313 commented 7 years ago

I don't know about details, but I may have the same problem. When I try to install by 'sudo npm install -g nyaovim', I come to have warning that "npm WARN flux@3.1.2 requires a peer of react@^15.0.2 but none was installed." even I have newest version of react. Please check it.

ghost commented 7 years ago

Sorry for the delay. I just checked it and I have the same warning.