Skip to content

Commit

Permalink
add event handle in tmux
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqiang1 committed Nov 10, 2020
1 parent e96ef09 commit b067c11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
3 changes: 3 additions & 0 deletions dotfiles/tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ bind -T ocpy-mode-vi 'r' send -X rectangle-toggle
# escape time
set -sg escape-time 0

# for vim-tmux-clipboard
set -g focus-events on

# split panes
bind '"' split-window -h -c "#{pane_current_path}"
bind % split-window -v -c "#{pane_current_path}"
Expand Down
16 changes: 0 additions & 16 deletions dotfiles/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -109,22 +109,6 @@ killseq() {
for i in $(seq $1 $2); do kill -9 $i; done
}

# ownCloud
alias owndown="wget --http-user=guoqiang1 --http-passwd=0okm@NJI95 --no-check-certificate"
function ownup() {
if [ $# -lt 1 ]; then
echo "Usage: $0 src dst"
return
fi
SRC=$1
DST=$2
if [ -z ${DST##**/} ]; then
DST=$DST${SRC##**/}
fi
echo "up $SRC to $DST"
curl -k -X PUT -u guoqiang1:0okm@NJI95 https://cloud.momenta.works/remote.php/dav/files/guoqiang1/$DST --data-binary @"$SRC" --progress-bar
}

# tmux
# alias tmux="tmux -2"
alias tmls="tmux ls"
Expand Down

0 comments on commit b067c11

Please sign in to comment.