diff --git a/.tmux.conf b/.tmux.conf index a9248e4..a3fd944 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -87,8 +87,13 @@ bind -r L resize-pane -R 2 # window navigation unbind n unbind p -bind -r C-h previous-window # select previous window -bind -r C-l next-window # select next window +# bind -r C-h previous-window # select previous window +# bind -r C-l next-window # select next window + +# Shift arrow to switch windows +bind -n S-Left previous-window +bind -n S-Right next-window + bind Tab last-window # move to last active window # toggle mouse diff --git a/.tmux.conf.local b/.tmux.conf.local index 3f808b9..2098f64 100644 --- a/.tmux.conf.local +++ b/.tmux.conf.local @@ -249,7 +249,7 @@ tmux_conf_copy_to_os_clipboard=false set -g history-limit 10000 # start with mouse mode enabled -#set -g mouse on +set -g mouse on # force Vi mode # really you should export VISUAL or EDITOR environment variable, see manual diff --git a/.zprezto/modules/utility/init.zsh b/.zprezto/modules/utility/init.zsh index 1c1162a..9efd529 100644 --- a/.zprezto/modules/utility/init.zsh +++ b/.zprezto/modules/utility/init.zsh @@ -41,7 +41,7 @@ alias ftp='noglob ftp' alias history='noglob history' alias locate='noglob locate' alias rake='noglob rake' -alias rsync='noglob rsync' +# alias rsync='noglob rsync' alias scp='noglob scp' alias sftp='noglob sftp' diff --git a/.zprezto/runcoms/zalias b/.zprezto/runcoms/zalias index d985b7b..d4677ff 100644 --- a/.zprezto/runcoms/zalias +++ b/.zprezto/runcoms/zalias @@ -78,11 +78,11 @@ function dcp() { local arg="$(whoami) at $(date)" fi - a || exit + a || return 1 - git commit -m "$arg" || exit + git commit -m "$arg" || return 1 - git push || exit + git push || return 1 } function strip-tags() {