0

When I enter a search it shows me the input in the command bar, for example:

enter image description here

However, when I enter in a command from the command history, for example clicking enter on line 50:

enter image description here

It doesn't shown any visual indicator that the string being searched is "Hello". Is there a way to make it such that all commands show up in the command-bar at the bottom?

  • 2
    You could try <C-c>; sometimes that puts the current text in the command-line for me – D. Ben Knoble Apr 25 at 2:17
  • @D.BenKnoble that works and is great, thank you! – David542 Apr 25 at 2:22
  • Ah! At first read I didn't get that you meant the 'incsearch' feature that highlights matches as you type search terms... – filbranden Apr 25 at 5:01
2

<C-c> in any of the command-line windows puts the current line into the command-line, just like I'd never left. This re-enables things like hlsearch and other features.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.