NyaoVim icon indicating copy to clipboard operation
NyaoVim copied to clipboard

alt key doesn't work in commandline history window

Open haifengkao opened this issue 8 years ago • 0 comments
trafficstars

Expected Behavior

nyaovim should execute alt key mapping in commandline history window

Actual Behavior

nyaovim will execute the key mapping only after

  • the window's content has been edited
  • or other key mapping (not including alt key) has been executed

This problem doesn't occur in nvim

Steps to Reproduce (including precondition)

  • open nyaovim
  • press : to switch to command mode
  • execute noremap <c-b> :echom "hi"<cr>
  • execute noremap <m-b> :echom "hi2"<cr>
  • press ctrl+f to open commandline history window
  • press alt+b nothing happened
  • press ctrl+b it shows hi
  • press alt+b it shows hi2

Screenshot on This Problem (if possible)

2017-02-06 6 03 50

Your Environment

  • OS: OS X 10.11
  • NyaoVim version: 0.0.22
  • nvim version: NVIM v0.2.0-361-g9fcf6d5

haifengkao avatar Feb 06 '17 10:02 haifengkao