Skip to content

Instantly share code, notes, and snippets.

View hungys's full-sized avatar

Jimmy Hung hungys

View GitHub Profile
@hungys
hungys / .screenrc
Created July 13, 2019 06:03
My screen config
# Status bar
hardstatus alwayslastline
hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]'
# Set scrollback buffer
defscrollback 5000
# Disable welcome message
startup_message off
@hungys
hungys / .tmux.conf
Created July 13, 2019 06:03
My tmux config
# Rebind prefix to Ctrl-A
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Bind "r" for reloading configuration
bind r source-file ~/.tmux.conf \; display "Configuration reloaded!"
# Bind "|" for splitting the current window vertically, and "-" for horizontally
unbind %