sponsor Vim development Vim logo Vim Book Ad

kisuke.vim : kisuke.vim - AI programming assistant with multi-provider support.

 script karma  Rating 0/0, Downloaded by 21  Comments, bugs, improvements  Vim wiki

created by
Doruk Özer
 
script type
utility
 
description
kisuke.vim is a lightweight yet powerful Vim plugin that seamlessly integrates AI capabilities into your editor workflow. Named after the brilliant scientist Kisuke Urahara, this plugin acts as your programming assistant, providing code suggestions, explanations, and problem-solving assistance without requiring you to leave Vim.

The plugin maintains a clean, distraction-free approach while offering robust features:

- Multi-session chat interface within Vim buffers
- Support for multiple AI providers (OpenAI, Anthropic, Google) and their models
- Easy navigation through an intuitive buffer menu system
- Context sharing by marking files or code selections to include in your prompts
- Syntax highlighting for code blocks in both prompts and responses
- Complete session management (create, switch, delete, resume)
- Comprehensive documentation accessible via :help kisuke

Kisuke helps you solve programming challenges, understand code, generate new implementations, and get explanations - all while staying in your Vim environment.
 
install details
Prerequisites:
- Node.js and Yarn must be installed globally:
  npm i -g yarn@latest

Installation methods:

1. Using Vim packages (Recommended):
   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
   vim -c "helptags ~/.vim/pack/plugins/start/kisuke.vim/doc" -c q

2. Using vim-plug:
   Add to your .vimrc:
   Plug 'dorukozerr/kisuke.vim', { 'do': 'yarn build' }
   Then run: :PlugInstall

3. Using Vundle:
   Add to your .vimrc:
   Plugin 'dorukozerr/kisuke.vim'
   Run: :PluginInstall
   Then: cd ~/.vim/bundle/kisuke.vim && yarn build

4. Using Pathogen:
   cd ~/.vim/bundle
   git clone https://github.com/dorukozerr/kisuke.vim.git
   cd kisuke.vim
   yarn build

After installation, add recommended key mappings to your .vimrc:

" Kisuke.vim key mappings
nnoremap <Leader>ko :KisukeOpen<CR>
nnoremap <Leader>km :KisukeMarkFocusedFile<CR>
vnoremap <Leader>kh :KisukeMarkHighlighted<CR>
nnoremap <leader>krc :KisukeRemoveLastMarkedCodeBlock<CR>
nnoremap <Leader>kc :KisukeCreateNewSession<CR>
nnoremap <Leader>kd :KisukeDeleteSession<CR>
nnoremap <Leader>krs :KisukeResumeLastSession<CR>

Access the documentation with: :help kisuke
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
kisuke.vim.zip 0.2.0 2025-05-15 9.0 Doruk Özer Added improved syntax highlighting for menu and chat buffers, also improved performance by not running syntax setup function in chat buffer events.
kisuke.vim.zip 0.2.0 2025-05-15 9.0 Doruk Özer Initial upload
ip used for rating: 3.148.250.110

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github