MCPcopy Index your code
hub / github.com/casonadams/z-tab-bar

github.com/casonadams/z-tab-bar @v0.2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.2.0 ↗ · + Follow
14 symbols 24 edges 3 files 1 documented · 7%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

z-tab-bar

zellij tab-bar plugin that is similar to tmux default status line

image

building

cargo build --release

usage

setup

  • Create a common place for plugins
mkdir -p ~/.zellij/plugins
  • Update ~/.config/zellij/layouts/default.yaml

  • NOTE USER_HOME needs to be the full path for now

---
template:
  direction: Horizontal
  parts:
    - direction: Vertical
      body: true
    - direction: Vertical
      borderless: true
      split_size:
        Fixed: 1
      run:
        plugin:
          location: "file:USER_HOME/.zellij/plugins/z-tab-bar.wasm"
session:
  name: "0"
  attach: true
  • Suggested theme
themes:
  default:
    fg: 7
    bg: 24
    black: 0 # tab-bar foreground color
    red: 1
    green: 2 # tab-bar background color
    yellow: 3
    blue: 4
    magenta: 5
    cyan: 6
    white: 7
    orange: 208
    gray: 247
  • Copy complied plugin to the plugins directory
cp target/wasm32-wasi/release/z-tab-bar.wasm ~/.zellij/plugins

roadmap

  • [ ] config driven options for colors
  • [ ] config driven options to customize statusline (hostname, time, etc)

Core symbols most depended-on inside this repo

get_current_title_len
called by 2
src/line.rs
populate_tabs_in_tab_line
called by 1
src/line.rs
left_more_message
called by 1
src/line.rs
right_more_message
called by 1
src/line.rs
tab_line_prefix
called by 1
src/line.rs
tab_line
called by 1
src/line.rs
cursors
called by 1
src/tab.rs
render_tab
called by 1
src/tab.rs

Shape

Function 9
Method 3
Class 2

Languages

Rust100%

Modules by API surface

src/line.rs6 symbols
src/main.rs5 symbols
src/tab.rs3 symbols

For agents

$ claude mcp add z-tab-bar \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact