Skip to content

dorukozerr/kisuke.vim

Repository files navigation

kisuke.vim

A minimal AI assistant integration for Vim, inspired by modern AI-powered IDEs.

screenshot

About

Kisuke.vim is my first Vim plugin, born from a desire to learn plugin development and bring simple AI capabilities to Vim. While there are sophisticated alternatives available, this plugin aims to provide a straightforward AI integration focusing on simplicity and usability.

Current Features

  • 📝 Multi-session chat interface within Vim
  • 📂 File context sharing (mark files to include in your prompts)
  • 🤖 Claude AI integration for intelligent responses
  • 💬 Simple buffer-based conversation UI
  • 🔄 Session management (create, switch, delete)

Planned Features

  • ✨ Code snippet selection for context
  • 🔌 Multiple AI model support:
    • OpenAI (ChatGPT)
    • Local models via Ollama
    • More to come
  • 🛠️ Enhanced file context handling
  • ⚙️ Configurable model settings
  • 📚 More IDE-like features

Installation

Prerequisites

npm i -g yarn@latest

Using Vim packages

mkdir -p ~/.vim/pack/plugins/start
cd ~/.vim/pack/plugins/start
git clone https://github.com/dorukozerr/kisuke.vim.git
cd kisuke.vim
yarn build
cd ~

Support for other plugin managers coming soon.

Key Mappings

Default Mapping Command Description Mode
leader + k + o :KisukeOpen Open Kisuke chat buffer n
leader + k + c :KisukeCreateNewSession Create new session n
leader + k + n :KisukeNextSession Next session n
leader + k + p :KisukePreviousSession Previous session n
leader + k + a :KisukeConfiguration Configure API key n
leader + k + d :KisukeDeleteSession Delete current session n
leader + k + m :KisukeMarkFocusedFile Mark file for context n

Current Status

This plugin is in active development, with new features being added regularly. While functional, it's still in its early stages and welcomes community feedback and contributions.

Contributing

As this is a learning project, I'm open to suggestions, feedback, and contributions. Feel free to open issues or submit pull requests.

License

MIT

About

Another AI plugin for Vim.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published