Memo git config

Everytime I configure a new PC or env, I search for this: git config --global user.name "John Doe" git config --global user.email "[email protected]" git config --global gpg.program gpg git config --global pull.ff only git config --global commit.gpgsign true git config --global init.defaultBranch main git config --global push.default current git config user.email "[email protected]"

<span title='2021-11-27 10:00:00 +0000 UTC'>November 27, 2021</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;JC

Memo tmux config

Here is my tmux config, works on both MacOS / Linux #https://gitlab.com/AnatomicJC/tmux-themepack source "${HOME}/git/github/tmux-themepack/powerline/default/blue.tmuxtheme" set -g default-terminal "screen-256color" set -g mouse on set -g history-limit 500000 bind '"' split-window -c "#{pane_current_path}" bind % split-window -h -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}" # https://blog.jpalardy.com/posts/tmux-synchronized-panes/ bind C-x setw synchronize-panes # Memos # tmux list-keys | grep selection # tmux show -wg mode-keys (must return vi, not emacs) # For binding 'y' to copy and exiting selection mode #bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'pbcopy' bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel 'xclip -sel clip -i'

<span title='2021-11-27 10:00:00 +0000 UTC'>November 27, 2021</span>&nbsp;·&nbsp;1 min&nbsp;·&nbsp;JC

Memo vim config with powerline

Powerline install: sudo apt install powerline python3-powerline fonts-powerline Vim config: " All system-wide defaults are set in $VIMRUNTIME/debian.vim and sourced by " the call to :runtime you can find below. If you wish to change any of those " settings, you should do it in this file (/etc/vim/vimrc), since debian.vim " will be overwritten everytime an upgrade of the vim packages is performed. " It is recommended to make changes after sourcing debian....

<span title='2021-11-27 10:00:00 +0000 UTC'>November 27, 2021</span>&nbsp;·&nbsp;2 min&nbsp;·&nbsp;JC