kakounedotcom / connect.kak

Connect a program to Kakoune clients
https://kakoune.org
The Unlicense
88 stars 18 forks source link

Improve description. Document a bit more. #24

Closed useredsa closed 4 years ago

useredsa commented 4 years ago

The README 's description says:

Leverage the client-server architecture of Kakoune to connect programs to clients.

I think it's a rather short description.

With the new addittions to the plugin, I recognize I'm a bit lost and I don't know what's the purpose of some of the tools. I understand the objective of the plugin has always been to "connect" external apps to kakoune easily. For example, opening a file browser and having it open the files in the kakoune client. Unfortunately, I couldn't find the answers I wanted in the readme.

@alexherbo2 What's your opinion? Can we include more thorough explanations in the README or in a wiki page? I could help to write some of the explanations.

useredsa commented 4 years ago

I've started modifying the README.md.

@alexherbo2 , Could you answer these questions?:

I would also like to add FAQ.md and RECIPES.md pages inside the wiki.

alexherbo2 commented 4 years ago

The command really detaches, leaving a gem. It can be used to reattach later.

useredsa commented 4 years ago

The command really detaches, leaving a gem. It can be used to reattach later.

Hmm... I don't use it much, honestly. Can we change the docstring then? Without seeing the source I wouldn't have said it did create an external file which you needed to source. Maybe we could also add an example in the README.

alexherbo2 commented 4 years ago

Yep

alexherbo2 commented 4 years ago

@useredsa I moved most of the code to the commands folder. I hope the scripts are idiomatic enough.

useredsa commented 4 years ago

@useredsa I moved most of the code to the commands folder.

Great.

I hope the scripts are idiomatic enough.

Oh, they have always been.

useredsa commented 4 years ago

My current work is here.

I can include the FAQ.md and RECIPES.md files as wiki pages or as project files. What do you prefer?

alexherbo2 commented 4 years ago

Wow it looks awesome!

Something graphical could be a nice addition with the recent updates.

I have 2020-08-14 17:28:38 where I use Dolphin as a project drawer, like in Sublime Text, but I want to redo the video properly.

I can include the FAQ.md and RECIPES.md files as wiki pages or as project files. What do you prefer?

I’m not sure yet. I’d like something like the documentation of Krabby.

useredsa commented 4 years ago

Wow it looks awesome!

Something graphical could be a nice addition with the recent updates.

I have 2020-08-14 17:28:38 where I use Dolphin as a project drawer, like in Sublime Text, but I want to redo the video properly.

I can include the FAQ.md and RECIPES.md files as wiki pages or as project files. What do you prefer?

I’m not sure yet. I’d like something like the documentation of Krabby.

I don't really want to get into recording videos right now. You can do the same with broot instead of dolphin.

I have these screenshots:

kakoune-ide-1 kakoune-ide-2

Regarding documentation organization, let's set up a docs folder then. I can add there these two files. In the future we can add other files with topics such as desktop integration using the desktop entry. Does it sound right?

alexherbo2 commented 4 years ago

Yep

alexherbo2 commented 4 years ago

@useredsa Does Broot support the mouse?

useredsa commented 4 years ago

@useredsa Does Broot support the mouse?

Yup.

useredsa commented 4 years ago

By the way, the alias : conflicts with the internal Null command (help :) from a posix shell.

alexherbo2 commented 4 years ago

We can remove it.

useredsa commented 4 years ago

We can remove it.

Or replace it by :s. Choose whatever you prefer.

alexherbo2 commented 4 years ago

@useredsa I just added a :fifo command.

You can use like this:

rails routes | :fifo

Or directly:

:fifo rails routes

It creates a *fifo* buffer in the client that reads the command output.

You can directly do fifo from Kakoune if you required the module.

useredsa commented 4 years ago

@useredsa I just added a :fifo command.

You can use like this:

rails routes | :fifo

Or directly:

:fifo rails routes

It creates a *fifo* buffer in the client that reads the command output.

You can directly do fifo from Kakoune if you required the module.

I'll wait and add more additions together.

alexherbo2 commented 4 years ago

I added this video as a demo, but it is just temporary.

https://youtu.be/NJix7otSs3Q

alexherbo2 commented 4 years ago

@useredsa The structure of modules changed, so that they don’t appear in your path until you require them. If you click on commands, you will now see only the built-in commands.