LoginSignup
0
2

More than 5 years have passed since last update.

Hyper-V上のUbuntuでVSCodeの「行を上/下へコピー」が動作しない話

Last updated at Posted at 2019-03-19

Hyper-V上UbuntuでのVSCodeで問題発生

前回の記事
Windows10 ProでHyper-Vを使ってみた
https://qiita.com/hideki0145/items/844f003b6f6647cab081

前回、Windows10 Pro 1809のHyper-V上にUbuntu 18.04をインストールしました。
このUbuntuにVSCodeをセットアップして開発作業をしていたところ、普段使用しているキーボードショートカットが動かないじゃないですか…。

1.png

Alt+Ctrl+Shift+Up/Downで動作するはずの「行を上/下へコピー」が動かないのです。
ショートカット入力すると、どうも仮想マシンからマウスリリースされているっぽいです。

2.png

Hyper-Vの設定を確認しましたが、マウスリリースキーはCtrl+Alt+Leftとなっています。
Up/Downは関係ないのになぁと調査を進めると、以下のIssueにたどり着きました。

CTRL+ALT+UP arrow also releases the mouse and keyboard
https://github.com/MicrosoftDocs/windowsserverdocs/issues/1328

Hyper-VのバグでCtrl+Alt+Up/Downがマウスリリースに割り当てられているっぽいですねー。
しばらくはキーボードショートカットをカスタマイズして回避するしかなさそうです。

尚、「Windows10 Pro 1809 OSビルド17763.379」「Hyper-Vマネージャー 10.0.17763.1」で現象を確認しています。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2