GithubHelp home page GithubHelp logo

Comments (9)

vifon avatar vifon commented on June 11, 2024 1

Yes, it should be possible. I deliberately stop the search on top of the visible section but AFAIK it should work. I'll try to get around to it when I'll have some time.

from autocomplete-all-the-things.

vifon avatar vifon commented on June 11, 2024

I've got it working a bit but it's still not ready. Just wanted to let you know I'm still working on it. I'd like to refactor some stuff while doing it, because the refactoring is long overdue.

from autocomplete-all-the-things.

blueyed avatar blueyed commented on June 11, 2024

Thanks!

I also wondered recently, if it might be possible to query even other urxvtc windows (when using daemon mode)? :)

from autocomplete-all-the-things.

vifon avatar vifon commented on June 11, 2024

I don't think so. I haven't seen any API for communication between the clients.

from autocomplete-all-the-things.

kovetskiy avatar kovetskiy commented on June 11, 2024

We do something like query even other urxvtc using tmux sessions:
https://github.com/deadcrew/deadfiles/blob/master/bin/autocomplete-tmux

from autocomplete-all-the-things.

vifon avatar vifon commented on June 11, 2024

Neat! I even thought about using tmux for that. Still, I think it's not possible on just urxvtc.

from autocomplete-all-the-things.

blueyed avatar blueyed commented on June 11, 2024

Very nice!

There is also https://github.com/wellle/tmux-complete.vim for completion in Vim, where the input is generated through https://github.com/wellle/tmux-complete.vim/blob/master/sh/tmuxcomplete.
I have created Zsh completion based on that (https://gist.github.com/blueyed/6856354).

I think it would be nice to combine input from urxvt and tmux for autocomplete-ALL-the-things.

(There is https://github.com/junegunn/fzf, which allows to provide a sink for all kinds of input, but the it requires to e.g. open a tmux pane or something similar to filter the list - therefore it does not work that well for input completion I'd say.)

I have recently looked a lot at urxvt's source (for blueyed/rxvt-unicode#1), and the server/client protocol is rather simple (but flexible): it just starts new clients basically currently (AFAIK).
I could imagine extending it to request and send the scrollback through it, possibly with instruction to filter it.

However, I am not using urxvtd myself currently, since I had it crashing one time to many in the early days of using urxvt.

from autocomplete-all-the-things.

barlik avatar barlik commented on June 11, 2024

Hi, any update on this?

from autocomplete-all-the-things.

vifon avatar vifon commented on June 11, 2024

It's still planned, I didn't got around to it yet though. Sorry for the delay!

from autocomplete-all-the-things.

Related Issues (17)

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.