Kaushal
2015-01-20 20:26:11 UTC
Hi,
I can probably do a reverse search of a constant string in my prompt to
reach the previous occurrence of prompt, the place in pane history where I
last typed anything at command line.
But the constant string in my prompt is just 2 characters.
Is there a better way to do this? Can a "line number" variable be added (or
does something similar already exist?) that updates each time user enters
something at command line.
This would be useful to me because for my application, I run some
executable and then I see thousands of lines at stdout. It would be great
to simply jump up to the point in pane history where I entered that last
command.
--
Kaushal Modi
I can probably do a reverse search of a constant string in my prompt to
reach the previous occurrence of prompt, the place in pane history where I
last typed anything at command line.
But the constant string in my prompt is just 2 characters.
Is there a better way to do this? Can a "line number" variable be added (or
does something similar already exist?) that updates each time user enters
something at command line.
This would be useful to me because for my application, I run some
executable and then I see thousands of lines at stdout. It would be great
to simply jump up to the point in pane history where I entered that last
command.
--
Kaushal Modi