Giter Club home page Giter Club logo

Comments (4)

junegunn avatar junegunn commented on July 19, 2024

No objections. I just wasn't aware of the inconvenience since I rarely use tabs.

from gv.vim.

junegunn avatar junegunn commented on July 19, 2024

Fixed it. One thing I noticed though is that O mapping from fugitive in git buffer opens a new tab after the current split. Seems a bit inconsistent.

from gv.vim.

justinmk avatar justinmk commented on July 19, 2024

Good point. I imagine the justification is that cvc and cva are intended as "short-lived" tabs, for which the common case is that the user closes them and most likely wants to return to the original tab. I'd say similar logic applies to :GV. And I'd even say it applies to fugitive's O in most cases...

But since fugitive's O is documented as :Gtabedit (which surely must match the behavior of Vim's :tabedit), maybe tpope didn't want to bother explaining the difference. And after this insanity I doubt he would entertain changing the existing behavior.

Sadly this means I can't drop the idea that Vim needs a "previous tab" feature.

Also, thanks!

from gv.vim.

junegunn avatar junegunn commented on July 19, 2024

after this insanity

Haha, that's crazy.

I also applied the change to the neovim plugin of fzf.

from gv.vim.

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.