start new:
tmux
start new with session name:
tmux new -s myname
| #First you update your system | |
| sudo apt-get update && sudo apt-get dist-upgrade | |
| #Install Google Chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt-get update | |
| sudo apt-get install google-chrome-stable | |
| #Install gedit (Text Editor) |
| # 1 split panes using | and - and open new pane in last directory | |
| bind | split-window -h -c '#{pane_current_path}' # Split panes horizontal | |
| bind - split-window -v -c '#{pane_current_path}' # Split panes vertically | |
| unbind '"' | |
| unbind % | |
| # 2 disable kill window comfirm prompt | |
| bind-key & kill-window | |
| bind-key x kill-pane |
| " Install Vundle by running the following | |
| " 1. git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim | |
| " 2. Open vim and type :PluginInstall | |
| syntax on | |
| colorscheme monokai | |
| set t_Co=256 " vim-monokai now only support 256 colours in terminal. | |
| set nocompatible " be iMproved, required |
As configured in my dotfiles.
start new:
tmux
start new with session name: