Skip to content

Commit

Permalink
Zsh: Bind ^E to end-of-line in insert mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mattjbray committed Jul 12, 2013
1 parent 6234676 commit ab4325b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .zshrc
Expand Up @@ -78,6 +78,9 @@ export EDITOR=vim
# Bind reverse history search to C-R
bindkey "^R" history-incremental-search-backward

# C-e in insert mode jumps to end of line
bindkey "^E" end-of-line

# Vi mode: allow deletion past insertion point
zle -A .backward-kill-word vi-backward-kill-word
zle -A .backward-delete-char vi-backward-delete-char
Expand Down

0 comments on commit ab4325b

Please sign in to comment.