Code Monkey home page Code Monkey logo

Comments (2)

gennaro-tedesco avatar gennaro-tedesco commented on June 17, 2024

Good afternoon and thank you for your kind words!

If I understand correctly, you would like a key binding (say ctrl-k in your example) to checkout the commit of the selected log entry instead of just showing the commit patch (current behaviour). If so, this was already on my roadmap and it is pretty easy to implement: only at the moment I am on holidays and will have access to a computer next week only.

If you want to have a try yourself you can essentially mimic the code here of the function gh f tags: essentially you have to tell fzf to expect a key-binding and once so, determine the action on the selected line. There is probably some sed/awk/cut to do to make sure you are acting on the commit id rather than the whole line, but if you follow the examples in the other parts of the code it should be easy enough.

This said, in 1-2 weeks I will get to this myself, so if you can survive till then you can just wait and it will be done :)

from gh-f.

paul-sachs avatar paul-sachs commented on June 17, 2024

@gennaro-tedesco You are understanding correctly. I'll try to get a little time and put a PR together.

from gh-f.

Related Issues (5)

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.