Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "open in new buffer" default. #26

Open
ghost opened this issue Jun 27, 2011 · 7 comments
Open

Add "open in new buffer" default. #26

ghost opened this issue Jun 27, 2011 · 7 comments

Comments

@ghost
Copy link

ghost commented Jun 27, 2011

I'd love to see an option somewhere along the lines of open in new buffer that would open a new buffer to be used within an already open window/viewport. I can do this now with alt+click, but it'd be nice if macvim assumed the default for me :)

@alloy
Copy link
Owner

alloy commented Jun 27, 2011

What do you mean by ‘assumed the default’? Because if you just click it will do whatever you’ve setup in the preferences. Holding down alt while clicking does the opposite.

Anyways, I agree that we need a menu item for this behavior as well, which also makes it more clear for people when they see the menu item changing when they press the alt key.

@ghost
Copy link
Author

ghost commented Jun 27, 2011

yep, but as far as I can tell there is no option like open in new buffer available in the preferences so you could choose it as the default behavior without falling back on "alt+click".

@alloy
Copy link
Owner

alloy commented Jun 27, 2011

Hmm, maybe we’re not on the same page, which could be because of my VIM noobness. I have set the following in my preferences: open files from applications ‘in the current window’ ‘and set the arglist’. This make it open the file in a new buffer in the window that was showing the current buffer. Did you mean something else?

@ghost
Copy link
Author

ghost commented Jun 27, 2011

oh oops, my bad! I never tried it with the sub option "and set the arg list", but that does exactly what I want ;-)
Thanks!

@ghost ghost closed this as completed Jun 27, 2011
@alloy alloy reopened this Jun 27, 2011
@alloy
Copy link
Owner

alloy commented Jun 27, 2011

Awesome! However, with that out of the way, I’d still like to add the menu item, so I’m reopening this ticket :)

@raine
Copy link

raine commented Sep 5, 2011

I was expecting to find a ticket about this. The default action of opening files in new tabs is not vim like at all. Also, the setting in preferences ("set the arglist") is not very clear.

@alloy
Copy link
Owner

alloy commented Sep 6, 2011

@raneksi There’s another ticket that goes into the clearness of the options: #29.

Regarding a choice not being vim like at all, there’s often the choice between the vim way and the mac way, apparently in this case the MacVim author thought that would be a better default for the mac platform and I agree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants