Open wzhliang opened 7 years ago
It's also different from the default MacVim behavior which opens the file in a new window.
It's intended. If you want to open the file in a new window, you can use the -n
or -s
. See also vimr --help
. Does this help?
Not exactly. If there is more than one split in the same window (with Ctrl-W-s for example), gvim --remote
will send the new buffer to the active split. No new tab, no new window. This is handy when you want to view 2 or more files at the same time. It would be nice.
Ah, ok. Maybe that'd be a better behavior. Let me think about it. 😀
This comes up for me when working within the GUI. Opening files using :e behaves as expected and opens a new file in the current split, but using the File menu, Cmd-O, or the Buffers drawer always defaults to a new tab, and it would be nice to be able to set this behavior to your liking.
Related: I'd really appreciate a preference setting to open a file in a new vertical split next to the existing VimR window when I double-click a file in the Mac OS X finder and there is an existing window in VimR.
This comes up for me when working within the GUI. Opening files using :e behaves as expected and opens a new file in the current split, but using the File menu, Cmd-O, or the Buffers drawer always defaults to a new tab, and it would be nice to be able to set this behavior to your liking.
Agree 100% here. It's the only reason I don't use the VimR built in fuzzy finder or file system explorer.
Currently,
vimr <file>
opens a new tab. This is different from the default gvim behavior. Is this a designed feature or should it follow gvim?