Code Monkey home page Code Monkey logo

Comments (4)

takaxp avatar takaxp commented on June 4, 2024

If "org-tree-slide-play" means "org-tree-slide-mode" is activated, just add a new heading in the current slide by "M-enter".

from org-tree-slide.

refaelsh avatar refaelsh commented on June 4, 2024

If "org-tree-slide-play" means "org-tree-slide-mode" is activated

Yes, I do. Sorry for the typo.

just add a new heading in the current slide by "M-enter".

But then I would have two headings per slide, e.g., two slides in one slide. To solve it I would need to exit and re-enter slide mode. Is there any other solution please?

from org-tree-slide.

takaxp avatar takaxp commented on June 4, 2024

Yeah, re-entring to "org-tree-slide-mode" is an easy way because it can be used as a toggle function by (for example) "<f8>" if you set following conifg.

(global-set-key (kbd "<f8>") 'org-tree-slide-mode)

Another way is to call "org-tree-slide--display-tree-with-narrow" in the buffer. It is the core function to focus on the slide according to the cursor position. The function is not public so following code and config would help you.

(defun my-refresh-current-slide ()
  (interactive)
  (org-tree-slide--display-tree-with-narrow))

(define-key org-tree-slide-mode-map (kbd "C-c r") 'my-refresh-current-slide)

from org-tree-slide.

refaelsh avatar refaelsh commented on June 4, 2024

I understand. Thank you very much.

from org-tree-slide.

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.