Skip to content

Instantly share code, notes, and snippets.

View tinyheero's full-sized avatar

Fong Chun Chan tinyheero

View GitHub Profile
@tinyheero
tinyheero / .tmux.conf
Last active August 29, 2015 14:23
My ~/.tmux.conf file
# Set the prefix to be "ctrl+a"
unbind C-b
set -g prefix C-a
setw -g mode-keys vi
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
@tinyheero
tinyheero / .inputrc
Created June 30, 2015 02:37
My ~/.inputrc
set editing-mode vi
set keymap vi
@tinyheero
tinyheero / .bashrc
Last active August 29, 2015 14:23
My ~/.bashrc
#----------
# Aliases
#----------
alias ls="ls -F"
alias pd="pushd"
alias bd="popd"
alias less="less -N"
alias rsync="rsync -a --verbose --partial --progress"
alias make="make --warn-undefined-variables"
@tinyheero
tinyheero / .vimrc
Last active August 21, 2020 14:15
My ~/.vimrc file
"----------
" General
"----------
set nocompatible "stops vim from behaving in a strongly vi -compatible way. Place at the start of vimrc file as it can affect lots of other options which you may want to override.
filetype plugin on "turns plugin on depending on filetype
filetype indent on "special identation for certain filetypes
" Set to auto read when a file is changed from the outside
set autoread