Various Darwin updates
This commit is contained in:
parent
2bbcc0d690
commit
67a6e89e56
|
@ -543,8 +543,8 @@ font:
|
|||
# If the same trigger is assigned to multiple actions, all of them are executed
|
||||
# at once.
|
||||
key_bindings:
|
||||
#- { key: Paste, action: Paste }
|
||||
#- { key: Copy, action: Copy }
|
||||
- { key: V, mods: Shift|Control, action: Paste }
|
||||
- { key: C, mods: Shift|Control, action: Copy }
|
||||
#- { key: L, mods: Control, action: ClearLogNotice }
|
||||
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
|
||||
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
chp = checkout -p
|
||||
ci = commit
|
||||
cl = clone
|
||||
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
|
||||
co = checkout
|
||||
cp = cherry-pick
|
||||
d = diff
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
set -e
|
||||
|
||||
if [ $(uname -s) = "Darwin" ]; then
|
||||
w | head -n1 | cut -d":" -f3
|
||||
uptime | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
|
||||
else # Linux
|
||||
cut -d " " -f 1-3 /proc/loadavg
|
||||
fi
|
||||
|
|
|
@ -23,7 +23,7 @@ bind-key v split-window -h
|
|||
bind-key s split-window -v
|
||||
bind-key p new-window \; set window-status-style fg=white,bg=red
|
||||
bind-key c new-window -n 'cli'
|
||||
bind-key e new-window -n 'vim'
|
||||
bind-key e new-window -n 'vim' vim
|
||||
bind-key C rename-window 'cli'
|
||||
bind-key E rename-window 'vim'
|
||||
|
||||
|
|
Loading…
Reference in New Issue