No description
Find a file
2026-07-01 19:06:28 +02:00
scripts output on changes to current directory 2026-01-13 11:17:11 +01:00
cdls.tmux add editable keybind 2026-01-06 09:43:43 +01:00
LICENSE add LICENSE 2026-01-06 07:05:34 +00:00
README.md update readme for codeberg instructions 2026-07-01 19:06:28 +02:00
screenshot.png add screenshot 2026-03-13 12:54:06 +01:00

Tmux CDLS

tmux-cdls displays your current directory's contents in a dedicated pane that automatically updates as you modify the directory or navigate. This keeps your file structure visible at all times, making file operations and navigation easier.

The plugin is inspired by broot, but with a much simpler approach and without taking you out of your usual terminal workflow.

tmux-cdls screenshot

Requirements: tmux 1.9 or higher.

Key bindings

  • prefix + e - toggle directory listing pane (customizable)

Add plugin to the list of tpack/TPM plugins in .tmux.conf:

set -g @plugin 'https://codeberg.org/chris-paganon/tmux-cdls'

Hit prefix + I to fetch the plugin and source it. You should now be able to use the plugin.

Manual Installation

Clone the repo:

$ git clone https://codeberg.org/chris-paganon/tmux-cdls ~/clone/path

Add this line to the bottom of .tmux.conf:

run-shell ~/clone/path/cdls.tmux

Reload TMUX environment:

# type this in terminal
$ tmux source-file ~/.tmux.conf

You should now be able to use the plugin.

Configuration

You can customize the plugin behavior by adding these options to your .tmux.conf:

# Change the toggle key (default: e)
set -g @cdls-toggle "d"

# Change the pane size (default: 30%)
set -g @cdls-size "40%"

# Use a custom ls command (default: auto-detect exa/lsd/ls)
set -g @cdls-command "ls -lah --color=always"

# Change the polling rate in seconds (default: 0.5)
set -g @cdls-poll-rate "1"

Credits

This plugin is heavily based on tmux-sidebar by Bruno Sutic. The toggle mechanism, key binding system, and overall architecture were adapted from his excellent plugin. Thank you!

License

MIT