Skip to content

Instantly share code, notes, and snippets.

@eailfly
eailfly / install-tmux
Last active August 31, 2018 07:56 — forked from cdkamat/install-tmux
Install tmux 2.3 on rhel/centos 6
# Install tmux on Centos release 6.9
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -OL https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
tar -xf libevent-2.1.8-stable.tar.gz
cd libevent-2.1.8-stable
./configure --prefix=/usr/local
let configpath = '/home/eailfly/.cvimrc'
map d closeTab
map b :buffer<Space>
map W :tabdetach<CR>
map u lastClosedTab
map O :history<Space>
map <Leader>t newtab
" The default <Leader> key
let mapleader = ','
" the highlight color in find mode