Browse code

Moving bindings into their own file. Updating aliases after moving out bindings

Robby Russell authored on 02/09/2009 at 03:46:48
Showing 2 changed files
... ...
@@ -25,15 +25,10 @@ alias rfind='find . -name *.rb | xargs grep -n'
25 25
 
26 26
 alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'
27 27
 
28
-bindkey '\ew' kill-region
29
-
30
-bindkey -s '\el' "ls\n"
31
-bindkey -s '\e.' "..\n"
32
-
33 28
 alias et='mate . &'
34 29
 alias ett='mate app config lib db public spec test Rakefile Capfile Todo &'
35 30
 alias etp='mate app config lib db public spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
36 31
 alias etts='mate app config lib db public script spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
37 32
 
38
-bindkey "^[[A" history-beginning-search-backward
39
-bindkey "^[[B" history-beginning-search-forward
33
+
34
+
40 35
new file mode 100644
... ...
@@ -0,0 +1,14 @@
0
+# TODO: Explain what some of this does..
1
+autoload -U compinit
2
+compinit
3
+bindkey '\ew' kill-region
4
+bindkey -s '\el' "ls\n"
5
+bindkey -s '\e.' "..\n"
6
+bindkey '^r' history-incremental-search-backward
7
+bindkey "^[[5~" up-line-or-history
8
+bindkey "^[[6~" down-line-or-history
9
+bindkey "^[[H" beginning-of-line
10
+bindkey "^[[1~" beginning-of-line
11
+bindkey "^[[F"  end-of-line
12
+bindkey "^[[4~" end-of-line
13
+bindkey ' ' magic-space    # also do history expansion on space
0 14
\ No newline at end of file