R Primus committed 8012bea

add folds and remove key bindings for arrow keys

Comments (0)

Files changed (1)

 autoload  zkbd
 prompt adam1
+# setopt {
 setopt histignorealldups sharehistory extended_history appendhistory
 setopt  autocd autopushd pushdignoredups
 setopt beep extendedglob nomatch notify
+# }
 # Use emacs keybindings even if our EDITOR is set to vi
 bindkey -e
-bindkey "" backward-word
-bindkey "" forward-word
+#bindkey "" backward-word
+#bindkey "" forward-word
+# history settings {
 # Keep 1000 lines of history within the shell and save it to ~/.zsh_history:
+# }
 # Use modern completion system
 zstyle :compinstall filename '/home/micro/.zshrc'
 autoload -Uz compinit
+# zstyle completion {
 zstyle ':completion:*' auto-description 'specify: %d'
 zstyle ':completion:*' completer _expand _complete _correct _approximate
 zstyle ':completion:*' format 'Completing %d'
 zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
 zstyle ':completion:*' list-colors ''
 zstyle ':completion:*' list-prompt %SAt %p: Hit TAB for more, or the character to insert%s
 zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=* l:|=*'
 zstyle ':completion:*' menu select=long
 zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
 zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
 zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
-export EDITOR=vim
+# }
+# functions {
 # Wed May 18 15:21:33 BST 2011 -primus
 # for 3tera Applogic
 export CONTROLLER='g002-01'
 function g {
-  export CONTROLLER="g002-0${1}"
+  export CONTROLLER="g002-0$1"
+# }
+# local env settings {
 # Sat Oct 15 12:07:09 BST 2011 -primus
 export PATH PLAN9
+export EDITOR=vim
 #  -F or --quit-if-one-screen Causes less to automatically exit if the entire file can be displayed on the first screen.
 #  -X or --no-init
 #  -S or --chop-long-lines
 #  Causes lines longer than the screen width to be chopped rather than folded.  That is, the portion of a long line that does not fit in the screen width is not shown.  The default  is
 #  to fold long lines; that is, display the remainder on the next line.
+## }