Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22858faac9 |
@@ -35,7 +35,6 @@ The configuration is strictly modular:
|
|||||||
- **Lualine**: Statusline with Git diff and line-by-line Gitsigns blame.
|
- **Lualine**: Statusline with Git diff and line-by-line Gitsigns blame.
|
||||||
- **Noice**: Modern UI for cmdline (popup), messages, and LSP hover.
|
- **Noice**: Modern UI for cmdline (popup), messages, and LSP hover.
|
||||||
- **Snacks**: High-performance dashboard, explorer, and pickers.
|
- **Snacks**: High-performance dashboard, explorer, and pickers.
|
||||||
- **Snacks-tea**: Gitea/Forgejo extension for Snacks (via the `tea` CLI) — Pull Request picker, review, and creation UI, mirroring the built-in GitHub PR/issue integration.
|
|
||||||
- **Nvim-web-devicons**: Consistent icons across UI components.
|
- **Nvim-web-devicons**: Consistent icons across UI components.
|
||||||
|
|
||||||
### Editing & Navigation
|
### Editing & Navigation
|
||||||
@@ -78,7 +77,6 @@ To ensure all features (pickers, formatters, and LSPs) work correctly, the follo
|
|||||||
- `fzf` (Fuzzy finder fallback)
|
- `fzf` (Fuzzy finder fallback)
|
||||||
- `lazygit` (Git TUI)
|
- `lazygit` (Git TUI)
|
||||||
- `gh` (GitHub CLI integration)
|
- `gh` (GitHub CLI integration)
|
||||||
- `tea` (Gitea/Forgejo CLI integration, for Snacks-tea)
|
|
||||||
- `xclip` / `xsel` (X11) or `wl-copy` (Wayland) for clipboard sync.
|
- `xclip` / `xsel` (X11) or `wl-copy` (Wayland) for clipboard sync.
|
||||||
|
|
||||||
### Runtime Environments
|
### Runtime Environments
|
||||||
@@ -92,12 +90,11 @@ To ensure all features (pickers, formatters, and LSPs) work correctly, the follo
|
|||||||
**Debian / Ubuntu:**
|
**Debian / Ubuntu:**
|
||||||
```bash
|
```bash
|
||||||
sudo apt install git ripgrep fd-find fzf lazygit gh xclip nodejs npm build-essential curl unzip
|
sudo apt install git ripgrep fd-find fzf lazygit gh xclip nodejs npm build-essential curl unzip
|
||||||
# tea: no apt package; install via `go install gitea.com/gitea/tea@latest` or a release binary.
|
|
||||||
```
|
```
|
||||||
|
|
||||||
**Arch Linux:**
|
**Arch Linux:**
|
||||||
```bash
|
```bash
|
||||||
sudo pacman -S git ripgrep fd fzf lazygit github-cli tea xclip nodejs npm base-devel curl unzip
|
sudo pacman -S git ripgrep fd fzf lazygit github-cli xclip nodejs npm base-devel curl unzip
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🚀 Getting Started
|
## 🚀 Getting Started
|
||||||
|
|||||||
@@ -119,17 +119,6 @@ vim.keymap.set("n", "<leader>gP", function()
|
|||||||
Snacks.picker.gh_pr({ state = "all" })
|
Snacks.picker.gh_pr({ state = "all" })
|
||||||
end, { desc = "GitHub Pull Requests (all)" })
|
end, { desc = "GitHub Pull Requests (all)" })
|
||||||
|
|
||||||
-- Tea (Gitea/Forgejo)
|
|
||||||
vim.keymap.set("n", "<leader>gt", function()
|
|
||||||
Snacks.tea.pr()
|
|
||||||
end, { desc = "Tea Pull Requests (open)" })
|
|
||||||
vim.keymap.set("n", "<leader>gT", function()
|
|
||||||
Snacks.tea.pr({ state = "all" })
|
|
||||||
end, { desc = "Tea Pull Requests (all)" })
|
|
||||||
vim.keymap.set("n", "<leader>gc", function()
|
|
||||||
Snacks.tea.pr_create({})
|
|
||||||
end, { desc = "Tea Create Pull Request" })
|
|
||||||
|
|
||||||
-- Grep
|
-- Grep
|
||||||
vim.keymap.set("n", "<leader>sb", function()
|
vim.keymap.set("n", "<leader>sb", function()
|
||||||
Snacks.picker.lines()
|
Snacks.picker.lines()
|
||||||
|
|||||||
@@ -21,11 +21,6 @@ vim.cmd.colorscheme("catppuccin")
|
|||||||
-- Eagerly load snacks for dashboard and performance features.
|
-- Eagerly load snacks for dashboard and performance features.
|
||||||
vim.pack.add({ { src = "https://github.com/folke/snacks.nvim", name = "snacks" } })
|
vim.pack.add({ { src = "https://github.com/folke/snacks.nvim", name = "snacks" } })
|
||||||
|
|
||||||
-- Snacks-tea.nvim
|
|
||||||
-- Gitea/Forgejo extension for Snacks (adds Snacks.tea, the PR picker/buffer
|
|
||||||
-- UI). Wraps the `tea` CLI, must be on the runtimepath before snacks.setup().
|
|
||||||
vim.pack.add({ { src = "https://github.com/sbulav/snacks-tea.nvim", name = "snacks-tea" } })
|
|
||||||
|
|
||||||
-- Snacks Config
|
-- Snacks Config
|
||||||
-- Store opts in the registry first.
|
-- Store opts in the registry first.
|
||||||
Config.plugins.snacks = {
|
Config.plugins.snacks = {
|
||||||
@@ -95,14 +90,6 @@ Config.plugins.snacks = {
|
|||||||
scratch = { enabled = true },
|
scratch = { enabled = true },
|
||||||
scroll = { enabled = true },
|
scroll = { enabled = true },
|
||||||
statuscolumn = { enabled = true },
|
statuscolumn = { enabled = true },
|
||||||
tea = {
|
|
||||||
enabled = true,
|
|
||||||
tea = {
|
|
||||||
cmd = "tea", -- Path to tea binary
|
|
||||||
login = nil, -- Specific login to use (nil = auto-detect)
|
|
||||||
remote = "origin", -- Git remote to use
|
|
||||||
},
|
|
||||||
},
|
|
||||||
terminal = {
|
terminal = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
win = {
|
win = {
|
||||||
|
|||||||
@@ -140,10 +140,6 @@
|
|||||||
"rev": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e",
|
"rev": "ad9ede6a9cddf16cedbd31b8932d6dcdee9b716e",
|
||||||
"src": "https://github.com/folke/snacks.nvim"
|
"src": "https://github.com/folke/snacks.nvim"
|
||||||
},
|
},
|
||||||
"snacks-tea": {
|
|
||||||
"rev": "fdbfe05c29a2fab48d4d4feb3e4df0c43f3d4c14",
|
|
||||||
"src": "https://github.com/sbulav/snacks-tea.nvim"
|
|
||||||
},
|
|
||||||
"undotree": {
|
"undotree": {
|
||||||
"rev": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d",
|
"rev": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d",
|
||||||
"src": "https://github.com/mbbill/undotree"
|
"src": "https://github.com/mbbill/undotree"
|
||||||
|
|||||||
Reference in New Issue
Block a user