Skip to main content
adding more information
Source Link
TMB
  • 223
  • 1
  • 9

I am new to vim, and I use netrw as a file explorer.

Frequently hit shift-P to open a file in a buffer. Sometimes I accidentally hit shift-O, and netrw will start obtaining the file. How do I cancel cancel that?

Two changes I see happen are a new split opens with the below message

warning (netrw) cannot determine method (format: protocol://[user@]hostname[:port]/[path])

Which I can close. But also I see a message in the status/message bar. What I really want to do is get rid of that message: Obtaining index.html

enter image description here

The above documentation, suggests that the message will end when the transfer completes. So maybe I need to cancel the transfer. I scanned/searched the above documentation for the words cancel and transfer and found nothing to suggest a fix.

I am new to vim, and I use netrw as a file explorer.

Frequently hit shift-P to open a file in a buffer. Sometimes I accidentally hit shift-O, and netrw will start obtaining the file. How do I cancel cancel that?

The above documentation, suggests that the message will end when the transfer completes. So maybe I need to cancel the transfer. I scanned/searched the above documentation for the words cancel and transfer and found nothing to suggest a fix.

I am new to vim, and I use netrw as a file explorer.

Frequently hit shift-P to open a file in a buffer. Sometimes I accidentally hit shift-O, and netrw will start obtaining the file. How do I cancel cancel that?

Two changes I see happen are a new split opens with the below message

warning (netrw) cannot determine method (format: protocol://[user@]hostname[:port]/[path])

Which I can close. But also I see a message in the status/message bar. What I really want to do is get rid of that message: Obtaining index.html

enter image description here

The above documentation, suggests that the message will end when the transfer completes. So maybe I need to cancel the transfer. I scanned/searched the above documentation for the words cancel and transfer and found nothing to suggest a fix.

Source Link
TMB
  • 223
  • 1
  • 9

How can I stop 'Obtaining <filename>'?

I am new to vim, and I use netrw as a file explorer.

Frequently hit shift-P to open a file in a buffer. Sometimes I accidentally hit shift-O, and netrw will start obtaining the file. How do I cancel cancel that?

The above documentation, suggests that the message will end when the transfer completes. So maybe I need to cancel the transfer. I scanned/searched the above documentation for the words cancel and transfer and found nothing to suggest a fix.