Giter Site home page Giter Site logo

Add "open in new buffer" default. about macvim HOT 7 OPEN

 avatar commented on July 29, 2024
Add "open in new buffer" default.

from macvim.

Comments (7)

alloy avatar alloy commented on July 29, 2024

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.

from macvim.

 avatar commented on July 29, 2024

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".

from macvim.

alloy avatar alloy commented on July 29, 2024

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?

from macvim.

 avatar commented on July 29, 2024

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!

from macvim.

alloy avatar alloy commented on July 29, 2024

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

from macvim.

raine avatar raine commented on July 29, 2024

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.

from macvim.

alloy avatar alloy commented on July 29, 2024

@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.

from macvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.