tabby/clients/vim
Zhiming Ma 1eb22b9768
feat: vim update agent (#217)
* feat: vim plugin update agent.

* update readme.
2023-06-07 09:12:37 -07:00
..
autoload feat: vim update agent (#217) 2023-06-07 09:12:37 -07:00
doc feat: vim update agent (#217) 2023-06-07 09:12:37 -07:00
node_scripts feat: vim update agent (#217) 2023-06-07 09:12:37 -07:00
plugin
.gitignore
README.md feat: vim update agent (#217) 2023-06-07 09:12:37 -07:00
package.json
yarn.lock feat: vim update agent (#217) 2023-06-07 09:12:37 -07:00

README.md

Tabby VIM extension

Requirements

  1. VIM 9.0+ with +job and +textprop features enabled, or NeoVIM 0.6.0+.
  2. Node.js 16.0+.

Getting started

Plug

" Make sure that the filetype plugin has been enabled.
filetype plugin on

" Assume using vim-plug as plugin manager
Plug 'TabbyML/tabby', {'rtp': 'clients/vim'}

" Set URL of Tabby server
let g:tabby_server_url = 'http://127.0.0.1:8080'

Usage

  1. In insert mode, Tabby will show code suggestion when you stop typing. Press <Tab> to accpet the current suggestion, <M-]> to see the next suggestion, <M-[> to see previous suggestion, or <C-]> to dismiss.
  2. Use command :Tabby enable to enable, :Tabby disable to disable Tabby, and :Tabby status to check status.
  3. Use command :help Tabby for more information.