cord-nvim-2.0.0-beta.2 is not a library.
💎 Features
- 🌐 Client-Server Design — Handles multiple Neovim instances with a single connection to Discord.
- ⚡ Performance in Mind — Lightweight, dependency-free, with blazingly-fast startup.
- 🚀 Event-Driven Architecture — Instant presence updates with zero delays.
- 🎨 Customizable Templates — Dynamic string templates with custom variables.
- 🔧 Unmatched Configurability — Function-based configuration for infinite customization possibilities.
- 🧠 Automated State Handling — Automatically manages activities across all instances.
- 💤 Smart Idle Detection — Identifies idle sessions and switches to the most recent non-idle session.
- 🛠️ Built-in Git Integration — Detects repositories and workspaces based on VCS files without relying on command-line tools.
- 🌍 Cross-Platform — Supports Windows, Linux (Flatpak/Snap), macOS, and BSD.
- 🌸 Rich Icon Collection — Features over 70 uniquely designed icons.
📦 Install
Considerations
Cord requires the server executables to be present. To get it, you can either:
- Fetch from GitHub: By invoking
:Cord fetch(async, recommended)- Requires
curl
- Requires
- Build and install from crates.io: By invoking
:Cord build(async)- Requires
Rust>= 1.85.0 nightly
- Requires
- Build from source: By invoking
cargo b --releaseand then manually moving the resulting binary tonvim-data-dir/cord/bin- Requires
Rust>= 1.85.0 nightly
- Requires
- Download from GitHub: Get latest release from https://github.com/vyfor/cord.nvim/releases/latest, rename it to cord[.exe] and place it under
nvim-data-dir/cord/bin
Installation
use
Cord is available on LuaRocks.
:Rocks install cord.nvim
Do not forget to call require('cord').setup() to initialize the plugin, or set config = true.
Invoke :Cord update to whenever the plugin is updated.
Unix:
Windows:
git clone -b client-server --single-branch https://github.com/vyfor/cord.nvim $LOCALAPPDATA/nvim-data/site/pack/plugins/start/cord.nvim
Then call the following function somewhere in your configuration:
require.
Invoke :Cord update to whenever the plugin is updated.
Make sure you call the following function somewhere in your configuration:
require.
Invoke :Cord update to whenever the plugin is updated.
🎨 Themes
Cord features over 70 beautifully designed icons for languages and components with distinct themes, with more to come!
📖 Documentation
- Configuration Guide: Everything you need to customize Cord.
- Examples: Creative ways to customize your Discord presence.
- Migration Guide: Smooth migration from Cord v1.
- Wiki: Examples, best practices, and FAQs. (Coming soon)
🤝 Contributing
We welcome contributions to make Cord even better!
- Check out our Contribution Guidelines.
❓ FAQ
Have questions or issues?