forked from misc/zsh-config
		
	Fix keybinding to properly handle letter O
This commit is contained in:
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -2,3 +2,4 @@ | |||||||
| *kate-swp | *kate-swp | ||||||
| fabfile* | fabfile* | ||||||
| .DS_Store* | .DS_Store* | ||||||
|  | .idea | ||||||
|   | |||||||
| @@ -75,6 +75,7 @@ case "${TERM}" in | |||||||
|         bindkey '\eOd'    backward-word       # ctrl left |         bindkey '\eOd'    backward-word       # ctrl left | ||||||
|         bindkey '\e\e[D'  backward-word     ### Alt left |         bindkey '\e\e[D'  backward-word     ### Alt left | ||||||
|         bindkey '\e\e[C'  forward-word      ### Alt right |         bindkey '\e\e[C'  forward-word      ### Alt right | ||||||
|  |  | ||||||
|         # workaround for screen + urxvt |         # workaround for screen + urxvt | ||||||
|         bindkey '\e[7~'   beginning-of-line   # home |         bindkey '\e[7~'   beginning-of-line   # home | ||||||
|         bindkey '\e[8~'   end-of-line         # end |         bindkey '\e[8~'   end-of-line         # end | ||||||
| @@ -87,8 +88,8 @@ case "${TERM}" in | |||||||
|         bindkey '\e[3~'   delete-char         # delete |         bindkey '\e[3~'   delete-char         # delete | ||||||
|         bindkey '^[[C'    forward-word        # ctrl right |         bindkey '^[[C'    forward-word        # ctrl right | ||||||
|         bindkey '^[[D'    backward-word       # ctrl left |         bindkey '^[[D'    backward-word       # ctrl left | ||||||
|         bindkey 'OC' forward-word        # ctrl right |         bindkey '\eOC'    forward-word        # ctrl right | ||||||
|         bindkey 'OD' backward-word       # ctrl left |         bindkey '\eOD'    backward-word       # ctrl left | ||||||
|         bindkey '^[[1;3C' forward-word        # alt right |         bindkey '^[[1;3C' forward-word        # alt right | ||||||
|         bindkey '^[[1;3D' backward-word       # alt left |         bindkey '^[[1;3D' backward-word       # alt left | ||||||
|         # workaround for screen + xterm |         # workaround for screen + xterm | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user