Brings Cursor's AI-powered tab completion to Neovim. Get code suggestions as you type and accept them with Tab, just like in Cursor IDE.
System:
- macOS only (reads Cursor's auth from macOS-specific paths)
- curl (for HTTP requests and binary download)
- sqlite3 (to read Cursor credentials)
Critical:
- Cursor IDE must be installed at
/Applications/Cursor.app - You must be signed into Cursor (plugin reads your auth token automatically)
Without Cursor installed and authenticated, the plugin won't work.
{
"bengu3/cursor-tab.nvim",
config = function()
require("cursor-tab").setup()
end,
}The plugin will automatically download the appropriate binary for your platform on first run.
use {
"bengu3/cursor-tab.nvim",
config = function()
require("cursor-tab").setup()
end
}Plug 'bengu3/cursor-tab.nvim'Add to init.lua:
require("cursor-tab").setup()If auto-download fails, you can manually install:
- Download the binary for your platform from Releases
- Place it at
~/.local/share/nvim/lazy/cursor-tab.nvim/bin/cursor-tab-server(or equivalent path for your plugin manager) - Make it executable:
chmod +x path/to/cursor-tab-server
Or run :CursorTabInstall in Neovim to retry auto-installation.
require("cursor-tab").setup({
server_path = "/custom/path/to/cursor-tab-server"
})If you prefer to build from source:
# Requirements: Go 1.21+, buf CLI, make
git clone https://github.com/bengu3/cursor-tab.nvim ~/.config/nvim/pack/plugins/start/cursor-tab.nvim
cd ~/.config/nvim/pack/plugins/start/cursor-tab.nvim
make build- Use
:CursorTab toggleto enable/disable