Giter Club home page Giter Club logo

tmux_config's Introduction

Tmux Configuration

One of the coolest thing about tmux is completely configurable so you can customize the way you interact with and the way it looks


When tmux is started, it loads the system configuration file from /etc/tmux.conf Then looks for a user configuration file at ~/.tmux.conf

⚠️ if you've just installed tmux, you 'll need to create the file from scratch  

General Settings :

  • Change the prefix C-a instead of C-b
  • Change the indexing of windows and pane starting from 1
  • Add scroll history in the buffer
  • Enable mouse support
  • Ensure window index numbers get reordered on delete
  • Change Copy mode Entry to tab
  • Using vi keys in buffer

Change prefix from 'C-b' to 'C-a'
unbind C-b                  
set-option -g prefix C-a    
bind-key C-a send-prefix

Change the indexing of windows and pane starting from 1 rather than 0

set -g base-index 1
setw -g pane-base-index 1

Add a bit more scroll history in the buffer.

set -g history-limit 50000

Enable full mouse support

set -g mouse on

Ensure window index numbers get reordered on delete.

set-option -g renumber-windows on

Change the copy mode key

unbind [ 
bind-key tab copy-mode

Using vi keys in buffer

set -g mode-keys vi 

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.