Ask Your Question
2

Is there a way to initiate Vim through a command without opening a fresh buffer?

asked 2023-06-01 21:32:17 +0000

nofretete gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-01 22:00:02 +0000

david gravatar image

Yes, you can use the -p option to open Vim in tabbed mode with no open buffers. Here's the command:

vim -p

This will open Vim with an empty buffer in the first tab. You can then use the :tabnew command to open new tabs and create new buffers.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-01 21:32:17 +0000

Seen: 9 times

Last updated: Jun 01 '23