I think this is because of the ps, grep, and if-shell subprocesses spawned for every C-{h,j,k,l} keypress in my .tmux.conf.
I tried using #{pane_current_command} - but that's just the top-level parent process name, so in the case of git-gl, it's git rather than fzf, so I can't have a single blanket "pass-this-through-to-fzf" exception.
I think I need to reset my muscle memory to use C-n / C-p, and live with the lag for C-h?
Or perhaps there's a more performant way to map C-{h,j,k,l}?
I think this is because of the ps, grep, and if-shell subprocesses spawned for every C-{h,j,k,l} keypress in my .tmux.conf.
I tried using
#{pane_current_command}- but that's just the top-level parent process name, so in the case ofgit-gl, it'sgitrather thanfzf, so I can't have a single blanket "pass-this-through-to-fzf" exception.I think I need to reset my muscle memory to use C-n / C-p, and live with the lag for C-h?
Or perhaps there's a more performant way to map C-{h,j,k,l}?