From 9c51863eb2ff84b7f484c2e6099a71671d38ba59 Mon Sep 17 00:00:00 2001 From: Arash Rouhani Date: Sun, 15 Sep 2013 16:39:57 +0200 Subject: [PATCH] README: $terminfo does not work under Ubuntu 12.04 This gives further advice for keybindings: for some reason, on my Ubuntu 12.04 system, I need to enter `^[[A` but `$terminfo[kcuu1]` gives `^[OA` --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index db54d67..ad73a6f 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,12 @@ Usage bindkey -M vicmd 'k' history-substring-search-up bindkey -M vicmd 'j' history-substring-search-down + Ubuntu 12.04 users might need to use this snippet instead: + + # bind UP and DOWN arrow keys + bindkey '^[[A' history-substring-search-up + bindkey '^[[B' history-substring-search-down + 3. Type any part of any previous command and then: * Press the UP arrow key to select the nearest command that (1) contains