mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
update zsh vi-mode plugin
add more key binds
This commit is contained in:
parent
814cc29496
commit
060a349f14
3 changed files with 8 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -6,3 +6,5 @@ custom/
|
||||||
# temp files directories
|
# temp files directories
|
||||||
cache/
|
cache/
|
||||||
log/
|
log/
|
||||||
|
.*.swp
|
||||||
|
.*.un~
|
||||||
|
|
|
||||||
4
.zshrc
4
.zshrc
|
|
@ -93,3 +93,7 @@ export SVN_EDITOR=vim
|
||||||
# ssh
|
# ssh
|
||||||
# export SSH_KEY_PATH="~/.ssh/dsa_id"
|
# export SSH_KEY_PATH="~/.ssh/dsa_id"
|
||||||
setopt no_nomatch
|
setopt no_nomatch
|
||||||
|
|
||||||
|
function get_ftp_addr() {
|
||||||
|
echo "wget $HOST:$(cd `dirname $1` && pwd)/`basename $1`"
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,8 @@ bindkey '^r' history-incremental-search-backward
|
||||||
# allow ctrl-a and ctrl-e to move to beginning/end of line
|
# allow ctrl-a and ctrl-e to move to beginning/end of line
|
||||||
bindkey '^a' beginning-of-line
|
bindkey '^a' beginning-of-line
|
||||||
bindkey '^e' end-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 wasn't setup by theme, define default
|
||||||
if [[ "$MODE_INDICATOR" == "" ]]; then
|
if [[ "$MODE_INDICATOR" == "" ]]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue