-
Notifications
You must be signed in to change notification settings - Fork 32
[Feature Request] support iterm outside of tmux #40
Comments
fzf.kak uses the |
@andreyorst It would be preferable to use the |
@occivink that's may be suitable for x11 but not suitable for tmux at any rate. Also I've had some errors with |
Yeah if you want full control over tmux it makes sense to just handle it yourself, but as fallback |
This involves complexity to current implementation, because I'm calling everything from shell expansion, not via kakoune commands. So |
Also, as far as I can see, using |
Can you be more specific? What would be missing? |
Sorry, I was misguided that Also, what if user will use alacritty on MacOS? Will curretn |
I'm not quite sure, the
The separate |
Splitting is a separate topic. I wonder why there's no |
Maybe I can chime in. I have alacritty installed as well on my system. Natively (without tmux)
|
I wonder why. What does I also wonder if there will be any difference between if command -v alacritty >/dev/null 2>&1; then echo true; else echo false; fi and if [ -n "$(command -v alacritty)" ]; then echo true; else echo false; fi |
@andreyorst Because @grtlr is x11.kak autoloaded? It may not be if you created an |
@andreyorst: It seems that alacritty installed using Because of this |
@grtlr this makes sense.
@occivink This also applies to something like #if in tmux
printf %\\n "terminal -term-args 'split-window -p 60' fzf fzfarg1 fzfarg2"
#else
printf %\\n "terminal fzf fzfarg1 fzfarg2" |
Yeah, the idea of the Exposing raw arguments would still require that you do custom handling for tmux/iterm/screen, so imo it would be preferable to expose additional commands that are more specific to certain windowing systems, for example |
Understood, I'll think about it. @grtlr I'm sorry to say it, but I'm gonna leave this issue as is for now. I wan't to finish plug.kak refactoring, and after that I'll start working on this issue, and probably will rewrite fzf.kak from scratch, as I don't really like how it works. |
That sounds perfectly reasonable to me! |
@andreyorst Do you know a way to run |
fzf isn't opened in a new buffer, it is opened in plain terminal, without
opening new kakoune client untill you select the file in fzf.
fzf.kak already supports searching in the file, and it is opening new
terminal with fzf for that. You can't run fzf in statusline or in
prompt mode. fzf is a "full-screen" application, so it needs a full
terminal to run in. Kakoune's search is already fuzzy, because it supports
the same completion as insert mode completions.
|
maybe this:
|
The only way I got
fzf.kak
to work in iTerm (macOS) was using it inside a tmux session. It would be awesome to have native support for iTerm. Unfortunately, I have no idea where to start.Currently, when I type
:fzf-mode<ret>f
I get the following error message:termcd option is not set
. It appears that this functionality is only implemented for x11 and tmux.Maybe we can use iTerms
osascript
support similar to this PR?In the mean time, is there a way to run fzf only with a single line in the status bar of Kakoune, without opening a new buffer?
Thank you very much!
The text was updated successfully, but these errors were encountered: