Vim icon indicating copy to clipboard operation
Vim copied to clipboard

Editor hangs when executing :r !date in normal mode

Open lucmann opened this issue 6 months ago • 0 comments

Describe the bug Not sure if this is a bug, maybe only occurs in my environment. I would greatly appreciate if someone could give me a hint.

with simple and quick tests,

  • :r !echo hello everything is fine
  • :r !pwd nothing is read into the editor but not hanging
  • :r !sed -n '31,41p' a.txt ditto

To Reproduce Steps to reproduce the behavior:

  1. Open a file, e.g. xxx.md in Editor
  2. Type :r !date in normal mode and press Enter key
  3. Editor will hang while Explorer is still working fine

Expected behavior read the output of date

Screenshots If applicable, add screenshots to help explain your problem. If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings. Vim.log

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.28.0
  • VSCode version: 1.92.2
  • OS: Windows 11 22631.4037 + WSL2 Ubuntu 23.04

Additional context Start VSCode from WSL2 Ubuntu 23.04 terminal via code .

lucmann avatar Sep 03 '24 04:09 lucmann