Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iterm2: Makes histlist slow in iTerm (including quickfix) #31

Open
Xjs opened this issue Jun 27, 2024 · 0 comments
Open

iterm2: Makes histlist slow in iTerm (including quickfix) #31

Xjs opened this issue Jun 27, 2024 · 0 comments

Comments

@Xjs
Copy link

Xjs commented Jun 27, 2024

For some reason that I have not finally debugged, adding ftcs-command-start >/dev/tty to the prompt causes the histlist (bound by default to Ctrl-R) to render much slower than usual. (Usually comes up within a split second, on a full screen terminal takes 1-2 seconds to come up after iterm2:init has been called.) Occurs only in iTerm, calling iterm2:init in Terminal.app doesn't have this effect.

I fixed it by emitting iterm2:ftcs-command-finished before producing the history list, using the following stanza in rc.elv (after calling iterm2:init):

set edit:insert:binding[Ctrl-R] = {
	iterm2:ftcs-command-finished
	edit:histlist:start
}

I hope to spare somebody a few minutes of googling and debugging by this. If anybody more knowledgeable than me can explain to me a bit more thoroughly what's going on, I wouldn't mind :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant