Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork23
🚀 Discord Rich Presence for Neovim
License
vyfor/cord.nvim
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Important
Cord no longer requires Rust to be installed. Server component will be automatically downloaded from GitHub Releases.
- ⚡ Fast, lightweight, and batteries included.
- 🚀 Event-driven architecture with instant presence updates.
- 🎨 Dynamic string templates with custom variables.
- 🗃️ Customizable assets for any file/buffer type.
- 🔧 Flexible configuration with rich API, function-based fields, hooks, user commands and custom IPC paths.
- 🔌 Plugin system of its own, with many plugins out-of-the-box.
- 🛠️ Finds repositories and workspaces based on VCS files without relying on command-line tools.
- 🧠 Manages activities across all instances with a single connection to Discord.
- 💤 Detects when you're idle and switches to the most recent active instance.
- 📦 Works with different Discord setups (Snap, Flatpak,WSL, and even the
browser). - 🌍 Runs on Windows, Linux, macOS, and FreeBSD.
- 🌸 Includes 120+ unique icons for over 200 file types and plugins.
- 🔁 Reconnects automatically if connection to Discord is lost.
lazy.nvim
{'vyfor/cord.nvim',build=':Cord update',-- opts = {}}packer.nvim
use {'vyfor/cord.nvim',run=':Cord update',-- config = function()-- require('cord').setup {}-- end}
rocks.nvim
Cord is available onLuaRocks.
:Rocks install cord.nvim
Invoke:Cord update whenever the plugin is updated.
vim.pack (v0.12+)
vim.pack.add {'https://github.com/vyfor/cord.nvim'}vim.api.nvim_create_autocmd('PackChanged', {callback=function(opts)ifopts.data.spec.name=='cord.nvim'andopts.data.kind=='update'thenvim.cmd'Cord update'endend})
Vim packages
Unix:
git clone https://github.com/vyfor/cord.nvim~/.local/share/nvim/site/pack/plugins/start/cord.nvimWindows (PowerShell):
git clone https://github.com/vyfor/cord.nvim$LOCALAPPDATA/nvim-data/site/pack/plugins/start/cord.nvim
Invoke:Cord update whenever the plugin is updated.
Considerations
Cord requires theserver executable to be present. By default, the plugin automatically fetches it from GitHub, which requires a dependency oncurl.
Alternatively, you can provide the executable manually:
Download from GitHub:
Get the latest release fromhttps://github.com/vyfor/cord.nvim/releases/latest, rename it tocord(orcord.exeon Windows), and place it undernvim-data-dir/cord/bin. This is essentially what:Cord update fetchdoes.Build from source:
Run:Cord update installto install from crates.io or:Cord update buildto build from source locally.
Cord features over 120 meticulously crafted icons available in distinct themes:
- Default: A stylish theme inspired by Nerd Fonts icons.
- Atom: A sleek theme inspired by Atom Material Icons.
- Catppuccin: A soothing pastel theme inspired by Catppuccin.
- Classic: A clean theme featuring widely recognized icons.
See theshowcase for a visual comparison.
Tip
Each theme includes multiple flavors, typicallydark,light, andaccent, representing the background color of the icons.Choose your theme in thedisplay configuration option. More themes are coming soon!
I'm the sole maintainer of cord.nvim and dedicate much of my free time to this project. If you find Cord helpful, you can show your support by giving the repo a star orsponsoring me on GitHub. Every bit of support helps me continue to improve and maintain Cord for everyone. Thank you!
💬 Questions? Post inDiscussions or reach me out on Discord:vyfor
About
🚀 Discord Rich Presence for Neovim
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.



