mirror of
https://github.com/jbranchaud/til
synced 2026-01-07 17:18:02 +00:00
Add Open an Unnamed Buffer as a vim til.
This commit is contained in:
11
vim/open-an-unnamed-buffer.md
Normal file
11
vim/open-an-unnamed-buffer.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Open An Unnamed Buffer
|
||||
|
||||
There are two ways (that I know of) to open an unnamed buffer.
|
||||
|
||||
The first is before vim has even been launched. You can simply execute `vim`
|
||||
from the command-line without any arguments. Follow that by invoking `:ls`
|
||||
to see that the current and only buffer has *no name*.
|
||||
|
||||
The second method is with a vim session that is already open. If you invoke
|
||||
`:new`, a new buffer will be created that, like the first method, has *no
|
||||
name*.
|
||||
Reference in New Issue
Block a user