Files
dotfiles/nvim/.config/nvim/lua/plugins/herdr.lua
T
joakim 4eb93b7640 Initial commit
Dotfiles managed with GNU Stow: Hyprland (Lua config), Neovim, zsh,
tmux, ghostty, alacritty, waybar, yazi, lazygit, herdr, Claude Code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 18:02:28 +02:00

22 lines
1.1 KiB
Lua

return {
"lmilojevicc/herdr-splits.nvim",
-- Only inside herdr panes; vim-tmux-navigator covers tmux sessions.
-- Requires the herdr-side plugin: `herdr plugin install lmilojevicc/herdr-splits.nvim`
-- plus the plugin_action keybinds in herdr's config.toml.
cond = vim.env.HERDR_ENV == "1",
event = "VeryLazy",
opts = {},
keys = {
-- stylua: ignore start
{ "<C-h>", function() require("herdr-splits").move_cursor_left() end, desc = "Navigate left" },
{ "<C-j>", function() require("herdr-splits").move_cursor_down() end, desc = "Navigate down" },
{ "<C-k>", function() require("herdr-splits").move_cursor_up() end, desc = "Navigate up" },
{ "<C-l>", function() require("herdr-splits").move_cursor_right() end, desc = "Navigate right" },
{ "<M-h>", function() require("herdr-splits").resize_left() end, desc = "Resize left" },
{ "<M-j>", function() require("herdr-splits").resize_down() end, desc = "Resize down" },
{ "<M-k>", function() require("herdr-splits").resize_up() end, desc = "Resize up" },
{ "<M-l>", function() require("herdr-splits").resize_right() end, desc = "Resize right" },
-- stylua: ignore end
},
}