zsh-vi-mode icon indicating copy to clipboard operation
zsh-vi-mode copied to clipboard

Seach in the current line

Open adrp opened this issue 3 years ago • 4 comments

General information

  • Terminal program: QTerminal 0.16.1
  • Operating system: Debian Bullseye
  • ZSH framework: none
  • ZSH version: 5.8
  • ZVM version: ?

Basic examination

  • [x] I have read through the README page
  • [x] I have the latest version of zsh-vi-mode
  • [x] I have tested with another terminal program

Problem description

I'm curious if a feature allowing to search in the current line using / or ? is feasible. Currently those key bind to command history search. I'm aware that it would be a big change, but I'm sure there's a way to combine the two (using :/; to search through history and //? to search in the current line).

There's a plugin that tries to solve the very problem: soheilpro/zsh-vi-search.

adrp avatar Nov 19 '21 03:11 adrp

Hi @adrp

Thanks for the delay, I'm happy that you commit this issue. Currently, I'm busy, but I will work on this feature in the future. You can star this project for further update in the future. Hope you have a good day! : )

Thanks and Regards

jeffreytse avatar Nov 21 '21 09:11 jeffreytse

it's 11/26/2023 now and this feature is still missing Hum, when we say vim mode, isn't it natural to use '/' to start searching in current input? why bind it to history search?

RedemptionC avatar Nov 26 '23 02:11 RedemptionC

I also except this feature.

GladioFeng avatar Jan 23 '24 06:01 GladioFeng