smart-splits.nvim
1,750
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
Lua
语言
—
创建时间
最近更新
项目能做什么
智能、无缝的 Neovim 与终端分屏方向导航和调整工具,支持 Zellij、Tmux、Wezterm 和 Kitty。
来源:基于仓库元数据
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">
# 🧠 `smart-splits.nvim`
</div>
> [!NOTE]
> This repo recently moved to a new `smart-splits-nvim` GitHub org!
> See [#488](https://github.com/mrjones2014/smart-splits.nvim/issues/488) / [#492](https://github.com/mrjones2014/smart-splits.nvim/issues/492)
> for details.
🧠 Smarter and more intuitive split pane management for Neovim. Resize splits using a mental model of left/right/up/down instead of wider/narrower/taller/shorter. Navigate seamlessly between Neovim windows and terminal multiplexer panes with a clean, backend-driven architecture.
**Key features:**
- Intuitive resize model that matches how you think about splits
- Seamless navigation between Neovim and multiplexer panes
- Modular architecture: multiplexer support lives in separate plugins
- Configurable edge behavior: wrap, stop, split, or custom logic
- Ignore lists for buffers and filetypes
- Count-aware resizing with `v:count1` support
<video src="https://github.com/user-attachments/assets/e516399d-0c49-4c3d-b748-3ee0e4262898"></video>
**Table of Contents**
<!--toc:start-->
- [🧠 `smart-splits.nvim`](#-smart-splitsnvim)
- [Requirements](#requirements)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Configuration](#configuration)
- [Ignore Lists](#ignore-lists)
- [Floating Windows](#floating-windows)
- [At Edge Behavior](#at-edge-behavior)
- [Keybindings](#keybindings)
- [Lua API](#lua-api)
- [Commands](#commands)
- [Backends](#backends)
- [Available Backends](#available-backends)
- [Multiple Backends](#multiple-backends)
- [Writing a Backend](#writing-a-backend)
- [Migration from v2](#migration-from-v2)
- [Troubleshooting](#troubleshooting)
<!--toc:end-->
## Requirements
- Neovim 0.11 or newer
- (Optional) A terminal multiplexer with a supported `smart-splits` backend plugin (e.g. `smart-splits-nvim/backend-zellij-lua`)
## Installation
**smart-splits.nvim** is the core plugin. Multiplexer backends (Zellij, Ghostty, etc.) are separate plugins you install alongside it.
With [lazy.nvim](https://github.com/folke/lazy.nvim):
```lua
return {
'smart-splits-nvim/smart-splits.nvim',
version = '^3.0.0',
-- optional: install a backend
dependencies = {
{
'smart-splits-nvim/backend-zellij-lua',
main = 'smart-splits-backend-zellij-lua',
opts = {
--[[ backend-specific options go here ]]
},
},
},
opts = {
mux = { backend = 'smart-splits-backend-zellij-lua' },
},
}
```
Calling `setup()` is optional. Without it you get the defaults and no multiplexer integration.
## Quick Start
<details>
<summary>Minimal working example configuration with the Zellij backend (click to expand)</summary>
```lua
-- Install smart-splits.nvim and a backend
return {
'smart-splits-nvim/smart-splits.nvim',
version = '^3.0.0',
dependencies = {
{ 'smart-splits-nvim/backend-zellij-lua', main = 'smart-splits-backend-zellij-lua' },
},
opts = {
mux = { b
阅读完整原文
项目深度分析 规则生成(AI 未配置)
综合评分 41.0 分。该项目在“个人可实施性”维度得 35 分,“付费可能性”维度得 20.0 分,差异化空间 70.0 分(评分依据见评分卡)。
面向细分需求的二次开发产品
| 产品构想 | 基于 smart-splits.nvim 的核心能力,聚焦一个更窄的场景(如某平台、某行业)做差异化。 |
| 目标用户 | 该细分场景用户 |
| 难度/周期 | 中 · 2~6 周 |
| 收费模式 | 买断制 / 订阅制 / 广告 |
| 竞争风险 | 细分需求规模需验证 |
| 依据 | AI 推测:基于项目主题标签的判断 |
以上为规则引擎基于仓库公开数据生成的参考结论,包含推测成分,不构成投资或创业承诺;配置 AI 后可获得更深入的分析。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| rawnly/smart-splits-backend-rex | 中文介绍暂未生成 smart-splits.nvim backend for Rex |
11 | Lua |
| smart-splits-nvim/backend-wezterm | 中文介绍暂未生成 Wezterm backend for smart-splits.nvim. Maintainer: @a-morale |
3 | Lua |
| smart-splits-nvim/backend-tmux | 中文介绍暂未生成 smart-splits.nvim backend for tmux. Maintainer: @mrjones2014 |
2 | Lua |
| smart-splits-nvim/backend-template | 中文介绍暂未生成 A template repo for smart-splits.nvim backends. |
1 | Lua |
| drop-stones/smart-splits-wsl.nvim | 中文介绍暂未生成 🌉 Bridge smart-splits.nvim across the WSL2 boundary |
1 | Lua |
| MattiasMTS/cmux-smart-splits.nvim | 中文介绍暂未生成 cmux pane navigation and resizing for smart-splits.nvim, wit |
1 | Lua |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 29 个 Release |
| 社区活跃 | Star 1,750 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。