diff options
| author | Alexei Danchenkov <adanchenkov@gmail.com> | 2014-03-20 19:29:06 -0700 | 
|---|---|---|
| committer | Alexei Danchenkov <adanchenkov@gmail.com> | 2014-03-20 19:29:06 -0700 | 
| commit | 55a9d685fd960390a4f400ac461d901049a78beb (patch) | |
| tree | fab9c8dd6c03eaa760f2b49dd4d78e4ac9a5252f /lib | |
| parent | e537ee9db95966af3439b550c15d8971805c73cf (diff) | |
| download | zsh-55a9d685fd960390a4f400ac461d901049a78beb.tar.gz zsh-55a9d685fd960390a4f400ac461d901049a78beb.tar.bz2 zsh-55a9d685fd960390a4f400ac461d901049a78beb.zip  | |
Update key-bindings.zsh
Aligned comments
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/key-bindings.zsh | 18 | 
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh index 33046b0f1..49deb0587 100644 --- a/lib/key-bindings.zsh +++ b/lib/key-bindings.zsh @@ -15,11 +15,11 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then    zle -N zle-line-finish  fi -bindkey -e                                          # Use emacs key bindings +bindkey -e                                          	# Use emacs key bindings -bindkey '\ew' kill-region                           # [Esc-w] - Kill from the cursor to the mark -bindkey -s '\el' 'ls\n'                             # [Esc-l] - run command: ls -bindkey '^r' history-incremental-search-backward    # [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line. +bindkey '\ew' kill-region                           	# [Esc-w] - Kill from the cursor to the mark +bindkey -s '\el' 'ls\n'                								# [Esc-l] - run command: ls +bindkey '^r' history-incremental-search-backward    	# [Ctrl-r] - Search backward incrementally for a specified string. The string may begin with ^ to anchor the search to the beginning of the line.  if [[ "${terminfo[kpp]}" != "" ]]; then    bindkey "${terminfo[kpp]}" up-line-or-history       # [PageUp] - Up a line of history  fi @@ -41,16 +41,16 @@ if [[ "${terminfo[kend]}" != "" ]]; then    bindkey "${terminfo[kend]}"  end-of-line            # [End] - Go to end of line  fi -bindkey ' ' magic-space                             # [Space] - do history expansion +bindkey ' ' magic-space                             	# [Space] - do history expansion -bindkey '^[[1;5C' forward-word                      # [Ctrl-RightArrow] - move forward one word -bindkey '^[[1;5D' backward-word                     # [Ctrl-LeftArrow] - move backward one word +bindkey '^[[1;5C' forward-word                      	# [Ctrl-RightArrow] - move forward one word +bindkey '^[[1;5D' backward-word                     	# [Ctrl-LeftArrow] - move backward one word  if [[ "${terminfo[kdch1]}" != "" ]]; then -  bindkey "${terminfo[kdch1]}" reverse-menu-complete   # [Shift-Tab] - move through the completion menu backwards +  bindkey "${terminfo[kdch1]}" reverse-menu-complete	# [Shift-Tab] - move through the completion menu backwards  fi -bindkey '^?' backward-delete-char                   # [Backspace] - delete backward +bindkey '^?' backward-delete-char                   	# [Backspace] - delete backward  if [[ "${terminfo[kdch1]}" != "" ]]; then    bindkey "${terminfo[kdch1]}" delete-char            # [Delete] - delete forward  fi  | 
