This blog moved to medium->https://medium.com/@cocoamaemae

Wednesday, June 14, 2017

How to refurbish tmux

Brief
Surmise how to refurbish tmux

Requirements
OS: CentOS, Ubuntu

How to refurbish

Create $HOME/.tmux.conf

The blow is a sample of .tmux.conf
https://gist.github.com/cocoa-maemae/5e00a4d696d69e7b410d133714771d5d


Debug

If $HOME/.tmux.conf is not reflected, kill a tmux process then run tmux again.

e.g.
# Look into a tmux process
ps aux | grep tmux
25718 ? Ss 1:37 tmux
18937 pts/8 S+ 0:00 grep tmux

# kill a tmux process
kill -9 25718




Tuesday, June 13, 2017

How to use tmux

What is tmux?
Multiple virtual console tools

How to install

(CentOS)
sudo yum install -y tmux
Basic Usage
# Create windows
Ctrl-b,c

# Move to a next window
Ctrl-b,n

# Move to a previous window
Ctrl-b,p

# Divide a pane
Ctrl-b,%

# Move a pane
Ctrl-b,o

Front End Development Tools

TaskRunner Tool executing multiple tasks by only one execution. Tasks are like CSS preprocessor, Transpire, Module Bundler, etc... e.g. ...