diff --git a/etc/shell/bash/bashrc_linux b/etc/shell/bash/bashrc_linux index 1b0de4d..68b9f87 100644 --- a/etc/shell/bash/bashrc_linux +++ b/etc/shell/bash/bashrc_linux @@ -16,5 +16,5 @@ path++ /bin:/usr/bin:/usr/local/bin PATH # export LS_COLORS=$($BASHRC/ls_colors_generator.py) export LS_COLORS=$(cat $BASHRC/ls_colors_generated) -PS1="$PROMPT_COLOR┌─[$yellow\h$PROMPT_COLOR]─(${yellow}\j${PROMPT_COLOR})$PROMPT_SHH─[$yellow\w$PROMPT_COLOR]\n$PROMPT_COLOR└─[$PROMPT_COLOR\t]\$ $rstc" +PS1="$PROMPT_COLOR┌─(${yellow}\j${PROMPT_COLOR})─[$yellow\h$PROMPT_COLOR]$PROMPT_SHH─[$yellow\w$PROMPT_COLOR]\n$PROMPT_COLOR─[$PROMPT_COLOR\t]\$ $rstc" diff --git a/etc/shell/bash/inputrc b/etc/shell/bash/inputrc index 8ab3278..f5ef703 100644 --- a/etc/shell/bash/inputrc +++ b/etc/shell/bash/inputrc @@ -43,8 +43,7 @@ set convert-meta Off set output-meta On #Горизонтальная сортировка автодополнения -# set print-completions-horizontally On -set horizontal-scroll-mode On +set print-completions-horizontally On #Игнорирование регистра при автодополнении set completion-ignore-case On @@ -81,10 +80,6 @@ set match-hidden-files Off #Автоматическая подстановка директорий в cd # set autocd on -set editing-mode vi -set keymap vi-command -set show-mode-in-prompt off - # Color files by types set colored-stats On # Append char to indicate type @@ -94,3 +89,12 @@ set mark-symlinked-directories On # Color the common prefix in menu-complete set menu-complete-display-prefix On +#### VI MODE + +set editing-mode vi +set keymap vi-command +set show-mode-in-prompt on + +set vi-ins-mode-string "\1\e[32;1m\2└─\1\e[34;1m\2(I)\1\e[0m\2" +set vi-cmd-mode-string "\1\e[32;1m\2└─\1\e[31;1m\2[N]\1\e[0m\2" +