• Stars
    star
    518
  • Rank 82,695 (Top 2 %)
  • Language
    Shell
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sidebar with the directory tree for the current path. Tries to make tmux more IDE like.

Tmux Sidebar

tmux-sidebar does one thing: it opens a tree directory listing for the current path. It's fast, convenient and works great with vim.

screenshot

Some of the features that make the plugin more appealing than doing the same thing manually each time:

  • fast
    Much faster than doing each step manually.
  • smart sizing
    Sidebar remembers its size, so the next time you open it, it will have the exact same width. This is a per-directory property, so you can have just the right size for multiple dirs.
  • toggling
    The same key binding opens and closes the sidebar.
  • uninterrupted workflow
    The main prefix + Tab key binding opens a sidebar but does not move cursor to it.
  • pane layout stays the same
    No matter which pane layout you prefer, sidebar tries hard not to mess your pane splits. Open, then close the sidebar and everything should look the same.

Requirements: tmux 1.9 or higher, tree recommended but not required

Tested and working on Linux, OSX and Cygwin.

Key bindings

  • prefix + Tab - toggle sidebar with a directory tree
  • prefix + Backspace - toggle sidebar and move cursor to it (focus it)

Installation with Tmux Plugin Manager (recommended)

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

set -g @plugin 'tmux-plugins/tmux-sidebar'

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://github.com/tmux-plugins/tmux-sidebar ~/clone/path

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

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

Reload TMUX environment:

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

You should now be able to use the plugin.

Docs

Other goodies

  • tmux-copycat - a plugin for regex searches in tmux and fast match selection
  • tmux-resurrect - restore tmux environment after a system restart

License

MIT

More Repositories

1

tpm

Tmux Plugin Manager
Shell
11,215
star
2

tmux-resurrect

Persists tmux environment across system restarts.
Shell
10,702
star
3

tmux-continuum

Continuous saving of tmux environment. Automatic restore when tmux is started. Automatic tmux start when computer is turned on.
Shell
3,052
star
4

tmux-yank

Tmux plugin for copying to system clipboard. Works on OSX, Linux and Cygwin.
Shell
2,516
star
5

tmux-sensible

basic tmux settings everyone can agree on
Shell
1,593
star
6

tmux-copycat

A plugin that enhances tmux search
Shell
1,062
star
7

tmux-logging

Easy logging and screen capturing for Tmux.
Shell
994
star
8

list

A list of tmux plugins.
941
star
9

tmux-pain-control

standard pane key-bindings for tmux
Shell
713
star
10

tmux-open

Tmux key bindings for quick opening of a highlighted file or url
Shell
605
star
11

tmux-prefix-highlight

Plugin that highlights when you press tmux prefix key
Shell
528
star
12

tmux-battery

Plug and play battery percentage and icon indicator for Tmux.
Shell
467
star
13

tmux-sessionist

Lightweight tmux utils for manipulating sessions
Shell
399
star
14

tmux-cpu

Plug and play cpu percentage and icon indicator for Tmux.
Shell
393
star
15

vim-tmux-focus-events

Make terminal vim and tmux work better together.
Vim Script
342
star
16

vim-tmux

vim plugin for tmux.conf
Vim Script
330
star
17

tmux-fpp

Quickly open any path on your terminal window in your $EDITOR of choice!
Shell
295
star
18

tmux-urlview

Quickly open any url on your terminal window!
Shell
258
star
19

tmux-online-status

Tmux plugin that displays online status of your computer.
Shell
161
star
20

tmux-example-plugin

Example Tmux plugin that actually demonstrates how to build plugins for Tmux. The accompanying tutorial is here: https://github.com/tmux-plugins/tpm/blob/master/HOW_TO_PLUGIN.md
Shell
42
star
21

tmux-cowboy

Kill hanging processes fast
Shell
33
star
22

tmux-maildir-counter

Plugin that counts files on a specific mail directory
Shell
32
star
23

tmux-test

A small framework for isolated testing of tmux plugins.
Shell
16
star
24

language-tmux

Atom language support for Tmux config file
CoffeeScript
10
star
25

tmux-newsboat

Display newsboat counters in tmux status line.
Shell
8
star