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。

转载于:https://www.cnblogs.com/youchihwang/p/6371402.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值