Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: vim integration #178

Open
ZSaberLv0 opened this issue Feb 20, 2024 · 0 comments
Open

Feature Request: vim integration #178

ZSaberLv0 opened this issue Feb 20, 2024 · 0 comments

Comments

@ZSaberLv0
Copy link

ZSaberLv0 commented Feb 20, 2024

first of all, thanks for the great tool, i have used w3m.vim for a long time, and looking forward for chrome based browser in terminal, carbonyl is really what i want

to make it work on vim, i think it lacks only one very basic feature: communicate with carbonyl from external process, by something like Language Server Protocol

here's the main thoughts:

  1. run carbonyl in background, without UI (by vim's job, or similars for other editors, etc)
    • by something like : carbonyl --server --width=80 --height=30
  2. communicate with carbonyl, by stdio or socket (like LSP)
    • page op : load page, refresh, etc
    • mouse touch : scaled with terminal size, sending touched position
    • keyboard input : sending pressed keys
  3. carbonyl render the output, to stdout
  4. vim got the output, and render it in vim's way

by achieving this, i think it is also possible to solve many ssh related issue (like #124, #140), users can wrap carbonyl by their own shell or editor, to adapt more envs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant