From 8debd097fbea09032c27b2c8d69d8430d7ea0551 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Wed, 23 Sep 2009 07:43:36 -0700 Subject: Moving all zsh config options into a lib/ subdirectory to make way for some upcoming changes to directory structure and configuration options --- lib/key-bindings.zsh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/key-bindings.zsh (limited to 'lib/key-bindings.zsh') diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh new file mode 100644 index 000000000..20caad11f --- /dev/null +++ b/lib/key-bindings.zsh @@ -0,0 +1,14 @@ +# TODO: Explain what some of this does.. +autoload -U compinit +compinit +bindkey '\ew' kill-region +bindkey -s '\el' "ls\n" +bindkey -s '\e.' "..\n" +bindkey '^r' history-incremental-search-backward +bindkey "^[[5~" up-line-or-history +bindkey "^[[6~" down-line-or-history +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 \ No newline at end of file -- cgit v1.2.3-70-g09d2