-
Notifications
You must be signed in to change notification settings - Fork 299
Open vs Tab Open #586
Comments
Also, it looks like any files opened using the fuzzy finder follow the Open code path because those files are ignored by |
If you open a tab in vanilla vim/neovim, you with a new Tab which you can cycle with gt The oni tab bar handles both... |
Good catch... It's really confusing to have 'Open...', 'Tab Open..', 'Split Open...', AND 'Open Folder...' - especially when we now have the buffer line here.
Right, it's confusing... especially in the context of making Oni inviting to 'new' Vim users - a tab means something very different in the vim-world versus in most other editors...
This sounds good to me. It alleviates the confusion, a new user would understand what's going on... and it also behaves the way a vim-veteran-who-uses-tabs would expect (at least initially).
Seems like we should be consistent - it's confusing that two different high-level gestures ('Open File') have a different outcome. To be consistent above, seems like we should use
Right, Oni adds some extra confusion here. IMO I believe Vim-style tabs are confusing for new users (because they don't map conceptually to what users think of as tabs in other programs / editors - they're really window layouts), so I don't necessarily want to optimize for them. I also think that the vim-tab story will potentially get more confusing as multiplexing is implemented in #362. However, if we can get reasonable behavior that works for vim-tabs as well (like in the open cases), there's no reason not to support that (and advanced Vim users that prefer a tab workflow can set the So here's the summary of changes I read from above:
|
… Files...' (#594) * Switch to 'open tab' behavior by default, to help a bit with buffer/tab confusion. * Rename Open -> Open File
If I launch Oni and go to Oni(File) -> Tab Open, all files will be opened in new tabs and
gt
will move between tabs. If I launch Oni and go to Oni(File) -> Open, all files will be opened in new tabs butgt
will not move between tabs.I'm not sure what benefit there is to having both Open and Tab Open given that they seem to do the same thing. The only difference between the two that I see is any files opened by Open are ignored when using
gt
. If I open some files with Tab Open and other files with Open,gt
will only iterate through the tabs opened by Tab Open.I guess my recommendation is to just remove Open and keep the Tab Open functionality. Though if we do that we should probably rename Tab Open to just Open.
The text was updated successfully, but these errors were encountered: