Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 51 lines (42 sloc) 1.411 kB
71c59ea @robbyrussell Moving bindings into their own file. Updating aliases after moving ou…
authored
1 # TODO: Explain what some of this does..
93af38f @imajes further refactorings
imajes authored
2
3 bindkey -e
71c59ea @robbyrussell Moving bindings into their own file. Updating aliases after moving ou…
authored
4 bindkey '\ew' kill-region
5 bindkey -s '\el' "ls\n"
6 bindkey '^r' history-incremental-search-backward
7 bindkey "^[[5~" up-line-or-history
8 bindkey "^[[6~" down-line-or-history
b6d7782 @imajes more fixes, more or less have this as i want
imajes authored
9
10 # make search up and down work, so partially type and hit up/down to find relevant stuff
11 bindkey '^[[A' up-line-or-search
12 bindkey '^[[B' down-line-or-search
13
71c59ea @robbyrussell Moving bindings into their own file. Updating aliases after moving ou…
authored
14 bindkey "^[[H" beginning-of-line
15 bindkey "^[[1~" beginning-of-line
428f18c @hwti Add key bindings for gnome-terminal on Fedora
hwti authored
16 bindkey "^[OH" beginning-of-line
71c59ea @robbyrussell Moving bindings into their own file. Updating aliases after moving ou…
authored
17 bindkey "^[[F" end-of-line
18 bindkey "^[[4~" end-of-line
428f18c @hwti Add key bindings for gnome-terminal on Fedora
hwti authored
19 bindkey "^[OF" end-of-line
89d86d8 @imajes some todo notes, take @chris2's titlebar improvements and poke at com…
imajes authored
20 bindkey ' ' magic-space # also do history expansion on space
21
428f18c @hwti Add key bindings for gnome-terminal on Fedora
hwti authored
22 bindkey "^[[1;5C" forward-word
23 bindkey "^[[1;5D" backward-word
24
3e1d5fa @kremso Make Shift+Tab move backwards in the menu
kremso authored
25 bindkey '^[[Z' reverse-menu-complete
89d86d8 @imajes some todo notes, take @chris2's titlebar improvements and poke at com…
imajes authored
26
c7c959d @amaltson Make the delete key work correctly, instead of outputting a ~
amaltson authored
27 # Make the delete key (or Fn + Delete on the Mac) work instead of outputting a ~
eb63ddf @svnlto added mac keybinding for backward-delete-char
svnlto authored
28 bindkey '^?' backward-delete-char
c7c959d @amaltson Make the delete key work correctly, instead of outputting a ~
amaltson authored
29 bindkey "^[[3~" delete-char
30 bindkey "^[3;5~" delete-char
7d9628b @amaltson Added bindings for Gnome terminal.
amaltson authored
31 bindkey "\e[3~" delete-char
c7c959d @amaltson Make the delete key work correctly, instead of outputting a ~
amaltson authored
32
89d86d8 @imajes some todo notes, take @chris2's titlebar improvements and poke at com…
imajes authored
33 # consider emacs keybindings:
34
35 #bindkey -e ## emacs key bindings
36 #
37 #bindkey '^[[A' up-line-or-search
38 #bindkey '^[[B' down-line-or-search
39 #bindkey '^[^[[C' emacs-forward-word
40 #bindkey '^[^[[D' emacs-backward-word
41 #
42 #bindkey -s '^X^Z' '%-^M'
43 #bindkey '^[e' expand-cmd-path
44 #bindkey '^[^I' reverse-menu-complete
45 #bindkey '^X^N' accept-and-infer-next-history
46 #bindkey '^W' kill-region
47 #bindkey '^I' complete-word
48 ## Fix weird sequence that rxvt produces
49 #bindkey -s '^[[Z' '\t'
99d72ca @jreese Ignore errors from compaudit when using `sudo -s`
jreese authored
50 #
Something went wrong with that request. Please try again.