Browse files

changing vim mode indicators and inserting the time at the right prompt

  • Loading branch information...
1 parent 51c2d8f commit 81c2e2b58ce1d50f8c368199890a3c4a1a0c3f63 @andersonfreitas committed Dec 31, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 zsh/config.zsh
View
5 zsh/config.zsh
@@ -8,7 +8,8 @@ zle -N zle-keymap-select
bindkey -v
function vi_mode_prompt_info() {
- echo "${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"
+ # echo "${${KEYMAP/vicmd/-- NORMAL --}/(main|viins)/-- INSERT --}"
+ echo "${${KEYMAP/vicmd/[N]}/(main|viins)/[I]}"
}
# External editor for command line editing (ESC-v)
@@ -35,7 +36,7 @@ PROMPT='
%~
${smiley} %{$reset_color%}'
-RPROMPT='$(vi_mode_prompt_info) $(~/.rvm/bin/rvm-prompt)$(~/bin/git-cwd-info.rb)'
+RPROMPT='$(vi_mode_prompt_info) $(~/.rvm/bin/rvm-prompt)$(~/bin/git-cwd-info.rb) [%*]'
function rbenv_prompt_info() {
local ruby_version

0 comments on commit 81c2e2b

Please sign in to comment.