From 1bb28b02c661c28dcd45dff65f59babdec3445c2 Mon Sep 17 00:00:00 2001 From: Fuad Saud Date: Tue, 7 Jan 2014 16:46:15 -0200 Subject: [PATCH] Update preztorc to match prezto master --- zsh/preztorc.zsh | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) diff --git a/zsh/preztorc.zsh b/zsh/preztorc.zsh index 92371e8..6a4eb87 100644 --- a/zsh/preztorc.zsh +++ b/zsh/preztorc.zsh @@ -19,7 +19,7 @@ zstyle ':prezto:*:*' color 'yes' # zstyle ':prezto:load' zmodule 'attr' 'stat' # Set the Zsh functions to load (man zshcontrib). -# zstyle ':prezto:load' zfunction 'zargs' 'zmv' +zstyle ':prezto:load' zfunction 'zargs' 'zmv' # Set the Prezto modules to load (browse modules). # The order matters. @@ -48,7 +48,7 @@ zstyle ':prezto:load' pmodule \ # # Set the key mapping style to 'emacs' or 'vi'. -zstyle ':prezto:module:editor' keymap 'vi' +zstyle ':prezto:module:editor' key-bindings 'vi' # Auto convert .... to ../.. # zstyle ':prezto:module:editor' dot-expansion 'yes' @@ -67,6 +67,19 @@ zstyle ':prezto:module:editor' keymap 'vi' # Set the command prefix on non-GNU systems. # zstyle ':prezto:module:gnu-utility' prefix 'g' +# +# History Substring Search +# + +# Set the query found color. +# zstyle ':prezto:module:history-substring-search:color' found '' + +# Set the query not found color. +# zstyle ':prezto:module:history-substring-search:color' not-found '' + +# Set the search globbing flags. +# zstyle ':prezto:module:history-substring-search' globbing-flags '' + # # Pacman # @@ -119,6 +132,12 @@ zstyle ':prezto:module:prompt' theme 'sorin' 'pattern' \ 'cursor' \ # 'root' +# +# Set syntax highlighting styles. +# zstyle ':prezto:module:syntax-highlighting' styles \ +# 'builtin' 'bg=blue' \ +# 'command' 'bg=blue' \ +# 'function' 'bg=blue' # # Terminal @@ -127,10 +146,18 @@ zstyle ':prezto:module:prompt' theme 'sorin' # Auto set the tab and window titles. zstyle ':prezto:module:terminal' auto-title 'yes' +# Set the window title format. +# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' + +# Set the tab title format. +# zstyle ':prezto:module:terminal:tab-title' format '%m: %s' + # # Tmux # # Auto start a session when Zsh is launched. -zstyle ':prezto:module:tmux' auto-start 'yes' +zstyle ':prezto:module:tmux:auto-start' local 'yes' +# Auto start a session when Zsh is launched in a SSH connection. +# zstyle ':prezto:module:tmux:auto-start' remote 'yes'