Xinqi Bao's Git

minor update
authorXinqi Bao <[email protected]>
Wed, 29 Dec 2021 09:03:14 +0000 (17:03 +0800)
committerXinqi Bao <[email protected]>
Wed, 29 Dec 2021 09:03:14 +0000 (17:03 +0800)
.bashrc
.clang-format
.tmux.conf

diff --git a/.bashrc b/.bashrc
index 1938929..acfaf50 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -14,5 +14,7 @@ export EDITOR=vim
 
 export TERM=xterm-256color
 
 
 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 {}'"
 [ -f ~/.fzf.bash ] && source ~/.fzf.bash
 export FZF_CTRL_T_OPTS="--preview 'bat --style=numbers --color=always --line-range :500 {}'"
+
index d1f7671..32b5af2 100644 (file)
@@ -67,14 +67,14 @@ ForEachMacros:
   - BOOST_FOREACH
 IncludeBlocks:   Regroup
 IncludeCategories:
   - BOOST_FOREACH
 IncludeBlocks:   Regroup
 IncludeCategories:
-  - Regex:           '^<ext/.*\.h>'
-    Priority:        2
   - Regex:           '^<.*\.h>'
     Priority:        1
   - Regex:           '^<.*'
     Priority:        2
   - Regex:           '^<.*\.h>'
     Priority:        1
   - Regex:           '^<.*'
     Priority:        2
-  - Regex:           '.*'
+  - Regex:           '^"common/.*"'
     Priority:        3
     Priority:        3
+  - Regex:           '.*'
+    Priority:        4
 IncludeIsMainRegex: '([-_](test|unittest))?$'
 IndentCaseLabels: true
 IndentPPDirectives: None
 IncludeIsMainRegex: '([-_](test|unittest))?$'
 IndentCaseLabels: true
 IndentPPDirectives: None
index 29d1312..4222527 100644 (file)
@@ -1,10 +1,13 @@
 # Improve colours
 # Improve colours
-set -g default-terminal 'xterm-256colour'
+set -g default-terminal 'xterm-256color'
 
 # Set scrollback buffer to 10000
 set -g history-limit 10000
 
 
 # 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
 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-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
 
 # The modes {
 setw -g clock-mode-colour colour135