GithubHelp home page GithubHelp logo

.tmux's Introduction

.tmux

Awesome Tmux configuration.

Tmux

Features

  • Designed for remote operation shortcuts, perfect implementation runs in the Tmux Tmux scenario.
  • Automatically connect to the last outgoing session, seamlessly the last operation (to prevent accidental exit and interrupt operation).
  • Shortcuts are reasonably assigned, and all shortcuts don't need to move your wrist :-).
  • Plugins installation and update, custom appearance, custom settings can be one key operation (set the shortcut to edit directly).
  • A command can be installed this configuration.
  • Urlview integration if available.

Install Tmux

TMUX_VERSION=2.4
sudo apt install -y libncurses5-dev libevent-dev
wget https://github.com/tmux/tmux/releases/download/${TMUX_VERSION}/tmux-${TMUX_VERSION}.tar.gz -O /tmp/tmux-${TMUX_VERSION}.tar.gz
tar xf /tmp/tmux-${TMUX_VERSION}.tar.gz
cd /tmp/tmux-${TMUX_VERSION} && ./configure && make
sudo make install
rm -rf /tmp/tmux-*

Install Tmux Powerline

git clone https://github.com/erikw/tmux-powerline.git ~/.tmux-powerline

Copy Tmux Configuration

git clone https://github.com/izuolan/.tmux.git ~/.tmux
ln -sf ~/.tmux/powerline/mytheme.sh ~/.tmux-powerline/themes/mytheme.sh
ln -sf ~/.tmux/powerline/tmux-powerlinerc ~/.tmux-powerlinerc
ln -sf ~/tmux.conf ~/.tmux.conf

Init Plugins

mkdir -p ~/.tmux/plugins
git clone https://github.com/tmux-plugins/tpm.git ~/.tmux/plugins/tpm

Start up Tmux, and use 'Prefix+Shift+i' install plugins. (Default 'Prefix' is 'Alt+z')

Key bindings

Global

Key Bind
Alt+z prefix
prefix-e edit tmux config file
prefix-E edit tmux theme file
prefix-r reload tmux config file

Session

Key Bind
prefix-f find session
prefix-n create session
prefix Alt-q suspend client
Other keep the default.

Window

Key Bind
prefix Alt-w close window
prefix c create window
prefix Tab move to last active window
prefix [ select previous window
prefix ] select next window
prefix \ split window
prefix - split window
prefix Alt-[ swap window
prefix Alt-] swap window
Other keep the default.

Pane

Key Bind
prefix hjkl pane navigation
prefix arrow pane navigation
prefix < swap pane
prefix > swap pane
prefix Space last pane
prefix Alt-x close pane
prefix HJKL resize pane
prefix Alt-arrow resize pane
prefix ` synchronize pane on
**prefix ~** synchronize pane off
Other keep the default.

.tmux's People

Contributors

izuolan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.