tabby/clients/vim
Zhiming Ma 9c4b13174e
Add neovim support. (#87)
* Add neovim support.

* Fix lint.
2023-04-12 03:36:27 +08:00
..
autoload Add neovim support. (#87) 2023-04-12 03:36:27 +08:00
node_scripts fix: fix vim extension linebreak bug (#73) 2023-04-09 21:12:18 +08:00
plugin chore: add pre-commit workflow (#72) 2023-04-09 20:17:56 +08:00
README.md Add neovim support. (#87) 2023-04-12 03:36:27 +08:00

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

Plug 'TabbyML/tabby', {'rtp': 'clients/vim'}
let g:tabby_server_url = 'http://127.0.0.1:5000'

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.