mirror of
https://github.com/TabbyML/tabby
synced 2024-11-23 10:05:08 +00:00
9c4b13174e
* Add neovim support. * Fix lint. |
||
---|---|---|
.. | ||
autoload | ||
node_scripts | ||
plugin | ||
README.md |
Tabby VIM extension
Requirements
- VIM 9.0+ with
+job
and+textprop
features enabled, or NeoVIM 0.6.0+. - 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
-
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. -
Use command
:Tabby enable
to enable,:Tabby disable
to disable Tabby, and:Tabby status
to check status.