VirtualBox 與 Vmware 差異

VirtualBox 4.3.36_Ubuntu r105129

VMware® Workstation 12 Player  12.5.2 build-4638234,

分別在各自的 Ubuntu的 ~/.vimrc 加入以下組合鍵的code,

:nmap <C-\>s :hello

在 VirtualBox 是無作用的,

也就是在 VirtualBox 裡的 Ubuntu 的 vim 按下 ctrl + \ + s 是無法執行 :hello,

而在 Vmware 執行正常。

 

 

# solution

open virtualbox -> file -> preference -> input -> below picture

 按下快速鍵,即發生作用。

原先的 Host Key 是 右邊的 ctrl key,將它改為 None,就不會影響 快速鍵的作用,

且而需 enable Auto Capture Keyboard,讓 virtualbox 截取到 keyboard。

posted @ 2017-02-06 18:33  wangchangruei  阅读(336)  评论(0编辑  收藏  举报