S
S
Sergey Burduzha2018-07-27 19:11:09
vim
Sergey Burduzha, 2018-07-27 19:11:09

How to activate ctrl+r in zsh history if I use keyboard shortcut for vim?

Hello. Decided to use keyboard shortcut for vim in bash terminal. I actually use zsh, but I don't think it plays a big role in solving this problem.
So, that keyboard shortcut works, but ctrl+r for history doesn't.
I poked around on the net, but could not find a solution.
Thanks in advance for your help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Burduzha, 2018-07-27
@serii81

All found a solution. This is the history-substring-search
plugin

J
jcmvbkbc, 2018-07-27
@jcmvbkbc

Decided to use keyboard shortcut for vim in bash terminal. ... So, that keyboard shortcut works, but ctrl+r for history doesn't.

bind -Pwill show all active key combinations. What outputs bind -P | grep 'C-r'? What outputs bind -P | grep reverse-search-history?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question