802 B
802 B
Tabby VIM extension
Requirements
- VIM 9.0+ with
+joband+textpropfeatures 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
" 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: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 enableto enable,:Tabby disableto disable Tabby, and:Tabby statusto check status. - Use command
:help Tabbyfor more information.