Giter Site home page Giter Site logo

What about helm-all-mark-rings? about history HOT 3 OPEN

c02y avatar c02y commented on August 14, 2024
What about helm-all-mark-rings?

from history.

Comments (3)

tcw165 avatar tcw165 commented on August 14, 2024

Hi @c02y
That package works with global-mark-ring, whereas this one uses its own storage. Having your own storage means you can save more things, too. For instance, history store window-start value and support window-local history. If you have two window and want to trace for different codes, the window-local history gives you independent history storage for respective window.

history screenshot

Further, try history-prev-history, history-prev-history, history-next-history and history-next-history, You'll back to original point even you didn't add the point as a history. It won't make you lost when walking through history.

Of course, you can setup history-advised-before-functions and history-advised-after-functions to add history automatically for you.

from history.

c02y avatar c02y commented on August 14, 2024

I don't know if you ever used helm or not, there are other mark-ring functions like helm-mark-ring which is for window-local and helm-global-mark-ring which is for global-mark-ring, helm-all-mark-rings is just combining the two into one, so you can preview all the positions in one preview window.

As for history-prev-history, history-prev-history, in helm, they are just the top of the ordered list in the mark-ring preview window(preview file name+line number+line content).

As for history-advised-before-functions and history-advised-after-functions, they are automatically in helm.

But I don't think I can add a history manually in helm like history-add-history.

from history.

tcw165 avatar tcw165 commented on August 14, 2024

Cool, I didn't ever use helm-mark-ring. But it sounds cool and this one maybe is just an lightweight alternative to helm-mark-ring. Anyway, thank you for sharing. :D

As for history-advised-before-functions and history-advised-after-functions, they are automatically in helm.

helm-all-mark-rings (link) looks interesting. I'll try to integrate it into this project.

from history.

Related Issues (14)

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.