OhMyREPL.jl icon indicating copy to clipboard operation
OhMyREPL.jl copied to clipboard

New Ctrl-R behaviour does not return prompt to same position in the terminal window

Open dpsanders opened this issue 5 years ago • 1 comments

After Ctrl-R the entry position on the terminal jumps up. (With iTerm2 on a Mac)

dpsanders avatar Sep 28 '20 19:09 dpsanders

This is unavoidable when using fzf, unfortunately, I think. (OhMyREPL uses fzf for history search.) This is also what fzf does if you use it in a shell. The only work-arounds I know of there is to use it in tmux and configure it to either split the window or open a popup (if you have tmux 3.2+) when you use fzf. I don't know how to do this with the way fzf has been packaged here, however. (I also don't imagine you want to switch to working in tmux if you're not already just as a workaround for this.)

If it annoys you enough, you can deactivate fzf.

carlocab avatar Oct 23 '20 17:10 carlocab