We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [hidden-buffers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
48 views

Everytime I call :Explore netrw creates a new unlisted buffer

Is there any way to stay always in the same netrw buffer after selecting a file to edit?
0
votes
1answer
114 views

Hide terminal buffer from buffer list

How do I keep the terminal buffer from showing up in my airline list of buffers? I assume airline just pulls buffers from what normally shows up in :ls. But I actually don't want the terminal to show ...
1
vote
1answer
147 views

Creating a hidden buffer

I know that with commands like sbuffer you can create a new buffer and display it in a split window, and commands like enew can create a new buffer in the current window. But is it possible to not ...
0
votes
0answers
57 views

How to properly organize persistence of the vim state of all opened buffers?

Before switching to vim years ago I was using Sublime Text and it perfectly handled situations when I just close it and open again. Nothing is lost and at the place where I left it off. So I'm aiming ...
0
votes
1answer
16 views

Open a second file and quit the previously opened one without saving

If I do something like this: vim i # Write some tmp text # This tmp file served it's purpose, want to quit this one and open a new one :e newfile # E37: No write since last change (add ! to override) ...
1
vote
0answers
531 views

Why does “E89: No write since last change” error not occur when commands are joined with bar?

I have :set hidden set in my ~/.vimrc. First I did this: vim foo bar :bnEnter ihelloEsc :bpEnter :bd#Enter The :bd# command leads to this error: E89: No write since last change for buffer 2 (add ! ...
0
votes
1answer
95 views

vim :make :cwindow, I need error length character limit larger than 1000

I am compiling a program with :make command, then I examine g++ errors using :cwindow. The problem is that the error produced by g++ is longer than 1000 characters and it is cut. Currently I have to ...
2
votes
1answer
306 views

Buffers are left even when `nohidden` is set

I have explictly said in my vimrc that I want nohidden behaviour (I am jumping between files a lot, with long lasting session, and after some time buffers list is very polluted). However when I jump ...
2
votes
1answer
530 views

How to detect the buffer number of new buffer

I would like to create a new scratch buffer in vim script. I would like to use this buffer to output the result of the execution of a scala script. I am creating the buffer with this function: ...
2
votes
1answer
1k views

“set hidden” leaves many *empty* buffers. Can I automatically get rid of them?

I recently added set hidden to my vimrc script because I didn't always want to :write a file before :editing another file. (With set nohidden, which is the default, this resulted in a E37: No write ...