diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-19 17:52:18 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-06-19 17:52:18 +0200 |
commit | 63dfac3ec3912daf6d7efd72130ade4fd73f231d (patch) | |
tree | bd4d87a9fb62136445abe4c5724e32ce106eaf13 /12_Prompts.zsh | |
parent | f718af82030c7a5d295ebff54482b184ec0a7e39 (diff) |
[Keys] Vim-mode.
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 2b2255a..5d76806 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -282,6 +282,13 @@ __show_date() echo $(tput cub $COLUMNS ; tput cuf $(($COLUMNS - $DATESIZE)))$DATE } + +__display_vi_mode() +{ + echo -n "$C_$color[bold];$color[yellow]$_C%8v" +} +PS1_TASKBAR+=(__display_vi_mode) + __two_lines_prompt () { ## Le prompt le plus magnifique du monde, et c'est le mien ! |