55a9d685fd960390a4f400ac461d901049a78beb

Author
Alexei Danchenkov <adanchenkov@gmail.com>
Committer
Alexei Danchenkov <adanchenkov@gmail.com>
Date

Message

Update key-bindings.zsh

Aligned comments

Diff

 1diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh
 2index 33046b0f108bf358e6da54715f843a8a28125fd5..49deb0587cf69806497e7a17d2732912844896f3 100644
 3--- a/lib/key-bindings.zsh
 4+++ b/lib/key-bindings.zsh
 5@@ -15,11 +15,11 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then
 6   zle -N zle-line-finish
 7 fi
 8 
 9-bindkey -e                                          # Use emacs key bindings
10+bindkey -e                                          	# Use emacs key bindings
11 
12-bindkey '\ew' kill-region                           # [Esc-w] - Kill from the cursor to the mark
13-bindkey -s '\el' 'ls\n'                             # [Esc-l] - run command: ls
14-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.
15+bindkey '\ew' kill-region                           	# [Esc-w] - Kill from the cursor to the mark
16+bindkey -s '\el' 'ls\n'                								# [Esc-l] - run command: ls
17+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.
18 if [[ "${terminfo[kpp]}" != "" ]]; then
19   bindkey "${terminfo[kpp]}" up-line-or-history       # [PageUp] - Up a line of history
20 fi
21@@ -41,16 +41,16 @@ if [[ "${terminfo[kend]}" != "" ]]; then
22   bindkey "${terminfo[kend]}"  end-of-line            # [End] - Go to end of line
23 fi
24 
25-bindkey ' ' magic-space                             # [Space] - do history expansion
26+bindkey ' ' magic-space                             	# [Space] - do history expansion
27 
28-bindkey '^[[1;5C' forward-word                      # [Ctrl-RightArrow] - move forward one word
29-bindkey '^[[1;5D' backward-word                     # [Ctrl-LeftArrow] - move backward one word
30+bindkey '^[[1;5C' forward-word                      	# [Ctrl-RightArrow] - move forward one word
31+bindkey '^[[1;5D' backward-word                     	# [Ctrl-LeftArrow] - move backward one word
32 
33 if [[ "${terminfo[kdch1]}" != "" ]]; then
34-  bindkey "${terminfo[kdch1]}" reverse-menu-complete   # [Shift-Tab] - move through the completion menu backwards
35+  bindkey "${terminfo[kdch1]}" reverse-menu-complete	# [Shift-Tab] - move through the completion menu backwards
36 fi
37 
38-bindkey '^?' backward-delete-char                   # [Backspace] - delete backward
39+bindkey '^?' backward-delete-char                   	# [Backspace] - delete backward
40 if [[ "${terminfo[kdch1]}" != "" ]]; then
41   bindkey "${terminfo[kdch1]}" delete-char            # [Delete] - delete forward
42 fi