Skip to main content
grammar
Source Link
NeoZoom.lua
  • 1.6k
  • 1
  • 17
  • 43

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and whywhat is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition could be correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and why is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition could be correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and what is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition could be correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

added 6 characters in body
Source Link
NeoZoom.lua
  • 1.6k
  • 1
  • 17
  • 43

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and why is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition iscould be correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and why is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition is correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and why is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition could be correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)

Source Link
NeoZoom.lua
  • 1.6k
  • 1
  • 17
  • 43

What happen internally when I set `bufhidden` to `delete`?

As title. Would the buffer I set the option with the value delete really get deleted immediately? If not, when will it be deleted and why is this mechanism? Sorry for maybe a bad question but I'm trying to learn Vim's buffers mechanism.

Btw, I also read a special type of buffers called directory and these buffers have this option set to delete from the start. So I guess my intuition is correct that these buffers are "about to be deleted" but I'm still curious about what will happen behind the scene. (If that's the case, then I also want to know whether "recovery from a set-to-delete buffer" is possible.)