Skip to content

System Config

Song Zheng edited this page Dec 11, 2022 · 4 revisions

Intro

This displays the configuration for the system

Git

~/.gitconfig

Adds your info, sets a global .gitignore, and alias.

[user]
  email = ...
  name = ...
[color]
  ui = auto
[pull]
  rebase = true
[core]
  excludesfile = ~/.gitignore
[alias]
  co = checkout
  br = branch
  s = status
  r = remote -v
  d = diff

~/.gitignore

node_modules
build
coverage
dist
.attach_pid**

~/.tmux.conf

# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'

# https://superuser.com/questions/209437/how-do-i-scroll-in-tmux
# https://stackoverflow.com/questions/11832199/tmux-set-g-mouse-mode-on-not-scrolling
set -g mouse on

# Other examples:
# set -g @plugin 'github_username/plugin_name'
# set -g @plugin 'github_username/plugin_name#branch'
# set -g @plugin '[email protected]:user/plugin'
# set -g @plugin '[email protected]:user/plugin'

# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'

After that, install: git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

Then source: tmux source ~/.tmux.conf

profile

System Setup

Tutorials

Clone this wiki locally