diff --git a/.gitignore b/.gitignore index b2022081a..a0bd42aec 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,5 @@ custom/ # temp files directories cache/ log/ +.*.swp +.*.un~ diff --git a/.zshrc b/.zshrc index 505085beb..37be122ad 100644 --- a/.zshrc +++ b/.zshrc @@ -93,3 +93,7 @@ export SVN_EDITOR=vim # ssh # export SSH_KEY_PATH="~/.ssh/dsa_id" setopt no_nomatch + +function get_ftp_addr() { + echo "wget $HOST:$(cd `dirname $1` && pwd)/`basename $1`" +} diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh index 0e0d469ca..d0aa74cab 100644 --- a/plugins/vi-mode/vi-mode.plugin.zsh +++ b/plugins/vi-mode/vi-mode.plugin.zsh @@ -35,6 +35,8 @@ bindkey '^r' history-incremental-search-backward # allow ctrl-a and ctrl-e to move to beginning/end of line bindkey '^a' beginning-of-line bindkey '^e' end-of-line +bindkey '^f' forward-char +bindkey '\e.' insert-last-word # if mode indicator wasn't setup by theme, define default if [[ "$MODE_INDICATOR" == "" ]]; then