Git Product home page Git Product logo

Comments (14)

ms-jpq avatar ms-jpq commented on May 14, 2024 1

f83ec3e

I added the line number thing by allowing you to custom window options.

do

lua vim.api.nvim_set_var("chadtree_view", { window_options = {"relativenumber", ...} })

with window_options being whatever you want to set to chadtree windows
and ... being whatever else you want to set.

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024 1

nono leave it open, I will add the feature in.

also, not a sir :p

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024 1

oh it only works in chadtree, the J key in normal buffers is an edit command (it joins lines together), i dont think its a good idea for me to override it

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024

can you please explain what do you mean by is reveal?

i have no idea what its supposed to do, do you mean by opening in macos finder or something?

you can already do that by pressing the o key

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

@ms-jpq thank you so much that new change. About reveal, now that I read it, it makes no sense 😅 .
The reveal is just a way to go to CHADTree and focus the current file using a command or function. It's not opening the file in the file manager, but within CHADTree.

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024

oh, you can already do that with J key, if you turn follow mode on.

but it doesnt work with follow mode off, i will need to rewrite the rendering trigger to do that, probably not gonna happen for a while.

edit: i can do it without rewrite, but it be ugly code

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

gotcha. Ty sir for you amazing work. Closing..

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

my bad, I shouldn't have assumed that. So sorry.

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024

no problem 👍

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024

done

c4c3fb2

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

TY very much. How do I use it? 😅 follow mode ON + J?

from chadtree.

ms-jpq avatar ms-jpq commented on May 14, 2024

just press J, doesnt matter if follow mode is on

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

@ms-jpq I may be doing something wrong but it's not working for me.

  1. I made sure I updated the plugin.
  2. if I press J on a buffer it won't open CHADTree with the current file in buffer selected.
  3. if I go to the CHADTree buffer and I press J, it does take me to the file.

Am I missing something?
Thanks in advance.

from chadtree.

ricbermo avatar ricbermo commented on May 14, 2024

Agree, yeah, I had noticed that. I just need to adjust my brains to the new workflow. TY so much!!!

from chadtree.

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.