From 25bedf31b115327079407990d6c70d14e6bfd830 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Thu, 28 Jan 2016 19:23:53 +0500 Subject: [PATCH] =?UTF-8?q?bash:=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=20vi:=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- etc/shell/bash/bashrc | 5 ++++- etc/shell/bash/inputrc | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/etc/shell/bash/bashrc b/etc/shell/bash/bashrc index 6a6b310..81c5b47 100755 --- a/etc/shell/bash/bashrc +++ b/etc/shell/bash/bashrc @@ -1,6 +1,6 @@ #!/bin/bash #################################################################### # -# Изменён: Чт 28 янв 2016 18:46:21 +# Изменён: Чт 28 янв 2016 19:19:52 # ################################################################################ @@ -300,6 +300,9 @@ bind -m vi-insert "\C-l.":clear-screen bind -m vi-insert "\C-a.":beginning-of-line bind -m vi-insert "\C-e.":end-of-line bind -m vi-insert "\C-w.":backward-kill-word +bind -m vi-insert "\C-o":history-search-backward +bind -m vi-insert "\C-k":kill-line +# bind -m vi-insert "\C-n":history-search-forward # }}} ########################################################################## diff --git a/etc/shell/bash/inputrc b/etc/shell/bash/inputrc index 7899aec..84fe3c4 100644 --- a/etc/shell/bash/inputrc +++ b/etc/shell/bash/inputrc @@ -32,9 +32,9 @@ ##<Вниз> - Поиск вперед по истории "\e[B": history-search-forward # Поиск назад по истории -"\C-p": history-search-backward +# "\C-p": history-search-backward # Поиск вперед по истории -"\C-n": history-search-forward +# "\C-n": history-search-forward #Опции интерпретатора