nvimdev / dashboard-nvim

vim dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Enter to New Buffer, Bypass Dashboard with File Argument, and Create New Files

benajaero opened this issue · comments

Hello,

I've been using dashboard-nvim and have some suggestions that might enhance the user experience:

  1. Enter to New Buffer: It would be useful if pressing Enter on the dashboard would directly open a new buffer.

  2. Bypass Dashboard with File Argument: When opening nvim with a specific file from the command line, the dashboard could be skipped to allow immediate editing of the file.

  3. Creating New Files from Dashboard: An option to create new files directly from the dashboard would be helpful.

Is there a way to already do this?

So far I'm using :bd to exist the dashboard buffer however it doesn't work if I type in my terminal vim newfile instead that newfile buffer is gone.

What I've done in the end (instead of just removing dashboard-nvim) is to map my dashboard to a keyboard shortcut and remove it from automatically opening when I open vim.

It would be intuitive for q to quit the dashboard and drop into a new buffer. Obviously that would require not using that letter for a file shortcut. Right now I'm using :ene (aka :enew) to get a new buffer.