From 55bbb5f67351efdc0b7a051b59c5363f6005d60f Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Mon, 31 Aug 2026 10:23:20 -0400 Subject: [PATCH] feat(config): add left sidebar config for herdr-nvim and update descriptions --- dot_config/herdr-nvim/config.toml | 10 ++++++++++ dot_config/herdr/config.toml | 2 +- dot_config/kitty/herdr.conf | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 dot_config/herdr-nvim/config.toml diff --git a/dot_config/herdr-nvim/config.toml b/dot_config/herdr-nvim/config.toml new file mode 100644 index 0000000..07e6c74 --- /dev/null +++ b/dot_config/herdr-nvim/config.toml @@ -0,0 +1,10 @@ +# ── herdr-nvim (chmarax.herdr-nvim) ── +# Read by the plugin binary from $XDG_CONFIG_HOME/herdr-nvim/config.toml. +# Bound to ctrl+shift+e in kitty/ghostty → prefix+e (\x02e) → herdr-nvim.toggle. + +[sidebar] +# The nvim pane opens to the LEFT of the existing panes. The plugin collapses +# the tab's current layout into one anchor group, splits the editor off it, and +# for "left" round-trips the anchor through a temporary tab so nvim ends up on +# the left edge and the previous panes sit to its right. Default is "right". +position = "left" diff --git a/dot_config/herdr/config.toml b/dot_config/herdr/config.toml index 3f010b6..9dd944d 100644 --- a/dot_config/herdr/config.toml +++ b/dot_config/herdr/config.toml @@ -108,7 +108,7 @@ description = "navigate right (vim/herdr)" key = "prefix+e" type = "plugin_action" command = "chmarax.herdr-nvim.toggle" -description = "nvim sidebar" +description = "nvim sidebar (left of current panes; see ~/.config/herdr-nvim/config.toml)" [[keys.command]] key = "prefix+o" diff --git a/dot_config/kitty/herdr.conf b/dot_config/kitty/herdr.conf index 5736009..d6fd2b1 100644 --- a/dot_config/kitty/herdr.conf +++ b/dot_config/kitty/herdr.conf @@ -48,6 +48,8 @@ map ctrl+tab send_text all \x02. map ctrl+shift+tab send_text all \x02, map ctrl+shift+f send_text all \x02K map ctrl+shift+g send_text all \x02L +# ctrl+shift+e → prefix+e → herdr-nvim toggle; the editor pane opens on the +# left (position = "left" in ~/.config/herdr-nvim/config.toml) map ctrl+shift+e send_text all \x02e map ctrl+shift+o send_text all \x02o map ctrl+shift+h send_text all \x02p