From 9fd073273405b8309f3fa57184f6cde479ca48b9 Mon Sep 17 00:00:00 2001 From: Xinqi Bao Date: Wed, 29 Dec 2021 17:03:14 +0800 Subject: [PATCH] minor update --- .bashrc | 2 ++ .clang-format | 6 +++--- .tmux.conf | 9 +++++---- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index 1938929..acfaf50 100644 --- a/.bashrc +++ b/.bashrc @@ -14,5 +14,7 @@ export EDITOR=vim export TERM=xterm-256color +ulimit -c unlimited [ -f ~/.fzf.bash ] && source ~/.fzf.bash export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'" + diff --git a/.clang-format b/.clang-format index d1f7671..32b5af2 100644 --- a/.clang-format +++ b/.clang-format @@ -67,14 +67,14 @@ ForEachMacros: - BOOST_FOREACH IncludeBlocks: Regroup IncludeCategories: - - Regex: '^' - Priority: 2 - Regex: '^<.*\.h>' Priority: 1 - Regex: '^<.*' Priority: 2 - - Regex: '.*' + - Regex: '^"common/.*"' Priority: 3 + - Regex: '.*' + Priority: 4 IncludeIsMainRegex: '([-_](test|unittest))?$' IndentCaseLabels: true IndentPPDirectives: None diff --git a/.tmux.conf b/.tmux.conf index 29d1312..4222527 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,10 +1,13 @@ # Improve colours -set -g default-terminal 'xterm-256colour' +set -g default-terminal 'xterm-256color' # Set scrollback buffer to 10000 set -g history-limit 10000 -# remap prefix from 'C-b' to 'C-z' +# when turned on, would cause issue at copy mode in gitBash +set -g mouse off + +# remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a bind-key C-a send-prefix @@ -29,8 +32,6 @@ set-option -g visual-silence off set-window-option -g monitor-activity off set-option -g bell-action none -set -g default-terminal "screen-256colour" - # The modes { setw -g clock-mode-colour colour135 -- 2.20.1