iterm/tmux: shortcuts for moving between panes
This commit is contained in:
12
.gitconfig
12
.gitconfig
@@ -12,9 +12,21 @@
|
|||||||
ci = commit
|
ci = commit
|
||||||
st = status
|
st = status
|
||||||
sglog = log --oneline --decorate --graph --all
|
sglog = log --oneline --decorate --graph --all
|
||||||
|
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset %Cblue<%an>%Creset' --abbrev-commit --date=relative
|
||||||
co = checkout
|
co = checkout
|
||||||
out = log --branches --not --remotes
|
out = log --branches --not --remotes
|
||||||
vimdiff = difftool -y -t vimdiff
|
vimdiff = difftool -y -t vimdiff
|
||||||
|
|
||||||
|
# tricks from https://www.durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/
|
||||||
|
|
||||||
|
# show vimdiff of the commit, for all files in the commit
|
||||||
|
diffc = "!f() { git diff ${1}^1 ${1}; }; f"
|
||||||
|
vimdiffc = "!f() { git vimdiff ${1}^1 ${1}; }; f"
|
||||||
|
|
||||||
|
# show diff for file in the commit
|
||||||
|
diffcf = "!f() { git diff ${1}^1 ${1} -- $2; }; f"
|
||||||
|
vimdiffcf = "!f() { git vimdiff ${1}^1 ${1} -- $2; }; f"
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Petr Nyc
|
name = Petr Nyc
|
||||||
email = jet.jetpac@gmail.com
|
email = jet.jetpac@gmail.com
|
||||||
|
|||||||
2
.zshenv
2
.zshenv
@@ -2,7 +2,7 @@ set -o vi
|
|||||||
|
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jetpac/work/flutter/bin:$HOME/.rd/bin
|
export PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/jetpac/work/flutter/bin:$HOME/.rd/bin:$HOME/bin
|
||||||
|
|
||||||
alias oe='open /Applications/Emacs.app'
|
alias oe='open /Applications/Emacs.app'
|
||||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'
|
alias config='/usr/bin/git --git-dir=$HOME/.cfg/.git/ --work-tree=$HOME'
|
||||||
|
|||||||
@@ -65,6 +65,36 @@
|
|||||||
"Text" : "01 6e",
|
"Text" : "01 6e",
|
||||||
"Version" : 1
|
"Version" : 1
|
||||||
},
|
},
|
||||||
|
"0x68-0x180000-0x4" : {
|
||||||
|
"Action" : 11,
|
||||||
|
"Label" : "",
|
||||||
|
"Text" : "01 68",
|
||||||
|
"Version" : 1
|
||||||
|
},
|
||||||
|
"0x6a-0x180000-0x26" : {
|
||||||
|
"Action" : 11,
|
||||||
|
"Label" : "",
|
||||||
|
"Text" : "01 6a",
|
||||||
|
"Version" : 1
|
||||||
|
},
|
||||||
|
"0x6b-0x180000-0x28" : {
|
||||||
|
"Action" : 11,
|
||||||
|
"Label" : "",
|
||||||
|
"Text" : "01 6b",
|
||||||
|
"Version" : 1
|
||||||
|
},
|
||||||
|
"0x6c-0x180000-0x25" : {
|
||||||
|
"Action" : 11,
|
||||||
|
"Label" : "",
|
||||||
|
"Text" : "01 6c",
|
||||||
|
"Version" : 1
|
||||||
|
},
|
||||||
|
"0x6e-0x80000-0x2d" : {
|
||||||
|
"Action" : 11,
|
||||||
|
"Label" : "",
|
||||||
|
"Text" : "01 6e",
|
||||||
|
"Version" : 1
|
||||||
|
},
|
||||||
"0x70-0x80000-0x23" : {
|
"0x70-0x80000-0x23" : {
|
||||||
"Action" : 11,
|
"Action" : 11,
|
||||||
"Label" : "",
|
"Label" : "",
|
||||||
|
|||||||
Reference in New Issue
Block a user