mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Cleaned up /lib/, removed trailing white space everywhere.
This commit is contained in:
parent
db6c172e9f
commit
1e9b718af1
50 changed files with 332 additions and 298 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# TODO: Explain what some of this does..
|
||||
# TODO: Write a GNU Emacs key bindings file akin to the vi-mode plugin.
|
||||
|
||||
bindkey -e
|
||||
bindkey '\ew' kill-region
|
||||
|
|
@ -8,7 +8,7 @@ bindkey '^r' history-incremental-search-backward
|
|||
bindkey "^[[5~" up-line-or-history
|
||||
bindkey "^[[6~" down-line-or-history
|
||||
|
||||
# make search up and down work, so partially type and hit up/down to find relevant stuff
|
||||
# Make key up/down move up/down or search history.
|
||||
bindkey '^[[A' up-line-or-search
|
||||
bindkey '^[[B' down-line-or-search
|
||||
|
||||
|
|
@ -16,18 +16,22 @@ bindkey "^[[H" beginning-of-line
|
|||
bindkey "^[[1~" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[4~" end-of-line
|
||||
bindkey ' ' magic-space # also do history expansion on space
|
||||
|
||||
# Do history expansion on space.
|
||||
bindkey ' ' magic-space
|
||||
|
||||
# File rename magick.
|
||||
bindkey "^[m" copy-prev-shell-word
|
||||
bindkey '^[[Z' reverse-menu-complete
|
||||
|
||||
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
|
||||
# Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~.
|
||||
bindkey "^[[3~" delete-char
|
||||
bindkey "^[3;5~" delete-char
|
||||
bindkey "\e[3~" delete-char
|
||||
|
||||
# consider emacs keybindings:
|
||||
# Consider GNU Emacs keybindings:
|
||||
|
||||
#bindkey -e ## emacs key bindings
|
||||
#bindkey -e # Emacs key bindings.
|
||||
#
|
||||
#bindkey '^[[A' up-line-or-search
|
||||
#bindkey '^[[B' down-line-or-search
|
||||
|
|
@ -40,6 +44,6 @@ bindkey "\e[3~" delete-char
|
|||
#bindkey '^X^N' accept-and-infer-next-history
|
||||
#bindkey '^W' kill-region
|
||||
#bindkey '^I' complete-word
|
||||
## Fix weird sequence that rxvt produces
|
||||
## FIXME: A weird sequence that rxvt produces
|
||||
#bindkey -s '^[[Z' '\t'
|
||||
#
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue