[!IMPORTANT] Cord no longer requires Rust to be installed. Server component will be automatically downloaded from GitHub Releases.
💎 Features
- ⚡ Fast, lightweight, and batteries included.
- 🚀 Rate-limit aware, event-driven architecture.
- 🎨 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.
📦 Installation
use
Cord is available on LuaRocks.
:Rocks install cord.nvim
Invoke :Cord update whenever the plugin is updated.
vim..
vim..
Unix:
Windows (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.
Cord requires the server executable to be present. By default, the plugin automatically fetches it from GitHub, which requires a dependency on curl.
Alternatively, you can provide the executable manually:
-
Download from GitHub:
Get the latest release from https://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.
🎨 Themes
Cord features over 120 meticulously crafted icons available in distinct themes:
- Default: A stylish theme based on Nerd Fonts icons.
- Atom: A sleek theme based on Atom Material Icons.
- Catppuccin: A soothing pastel theme based on Catppuccin icons.
- Minecraft: A blocky pixel-art set based on Datapack Icons.
- Classic: A clean theme featuring widely recognized icons.
See the showcase for a visual comparison.
[!TIP] Each theme includes multiple flavors, typically
dark,light, andaccent, representing the background color of the icons. Choose your theme in thedisplayconfiguration option. More themes are coming soon!
❤️ Support the Project
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 or sponsoring me on GitHub. Every bit of support helps me continue to improve and maintain Cord for everyone. Thank you!