Code Monkey home page Code Monkey logo

window_chatter's Introduction

Window Chatter

Interacting with a series of Window floatting in the top-right corner to interact with LLM.

TODO: demo.gif

Install/Config

Lazy

{"TATOAO/window_chatter"}

config

Default using open.ai, "GPT3.5 turbo", you can config this way :

usages

require("WindowChatter").send_visual_selection_to_window() require("WindowChatter").remove_window() require("WindowChatter").output_to_current_cursor() require("WindowChatter").ouput_to_register()

keybinding example:

-- somewhere in Neovim init



Development

Set up

Start the project and enter Neovim

git clone https://github.com/TATOAO/window_chatter.git
cd window_chatter
nvim -c 'set rtp+=./'

execurate the function, for example:

lua require("WindowChatter").toggle_window()

Content

.git
.log

  • lua
    • WindowChatter
      • api_integration.lua
      • display_controller.lua
      • init.lua
      • logger.lua
      • output_manager.lua
      • selection_manager.lua
      • ui.lua
      • utils.lua
      • window_manager.lua
        .gitignore
        README.md

Cross Functional Flowchart

v1 Image Failed

TODO

  1. deleting
  2. highlighting issue (buffer enter event not triggered)

window_chatter's People

Contributors

tatoao avatar

Watchers

 avatar

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.