coolwanglu / neovim-e

Electron UI for Neovim
MIT License
271 stars 29 forks source link

Support opening multiple files from command line #9

Closed rygwdn closed 9 years ago

rygwdn commented 9 years ago

It would be very helpful to support opening multiple files from a shell into a single neovim.as window. The editor currently only considers the first argument to be a file to open.

coolwanglu commented 9 years ago

Since this is a UI of neovim, I think the feature should be added to neovim directly.

rygwdn commented 9 years ago

I think this might have something to do with the fact that when opening multiple files with nvim --embed file1 file2 it sends 2 files to edit on stdout, so I agree, this looks like a neovim bug.

coolwanglu commented 9 years ago

I remember that vim should have the same behavior though...