mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
reflect latest efforts on Windows compatibility
12
Cygwin.md
12
Cygwin.md
@@ -1,5 +1,11 @@
|
||||
On Cygwin, `install` script will download the prebuilt fzf binary for Windows platform. It does not run on mintty, the default terminal emulator shipped with Cygwin, but it works fine on [ConEmu](https://github.com/salmarko/RevealingModulePattern/releases/download/soft/Installer.zip) or the default Command Prompt (`cmd.exe`).
|
||||
On Cygwin or MSYS2 (as used by Git Bash), the `install` script will download the prebuilt fzf binary for Windows platform.
|
||||
Since Fzf 0.53 and Mintty 3.4.5, it runs on mintty, the default terminal emulator shipped with Cygwin, out of the box.
|
||||
For FZF < 0.53, one had to add `--no-height` to `fzf` and
|
||||
|
||||
The Vim plugin of fzf also works with the Windows binary. It will start an extra `cmd.exe` window on mintty to circumvent the aforementioned limitation.
|
||||
- configure the environment variable `MSYS` to include `enable_pcon` on mintty > 3.4.5
|
||||
- call `fzf` with `winpty` such as suggested [here](https://github.com/junegunn/fzf/issues/2798#issuecomment-2119149759) if available, on mintty < 3.4.5
|
||||
|
||||
If you really have to use fzf with mintty, consider checking out the legacy version written in Ruby, which is currently maintained in [me-and/fzf](/me-and/fzf). Another solution to use the new version of `fzf` and `Cygwin+mintty, MSYS2` is to use `winpty`. Compile `winpty` as instructed by https://github.com/rprichard/winpty and then use the script written by @knutze - https://github.com/junegunn/fzf/issues/2798#issuecomment-1229376159
|
||||
If neither winpty is available and Mintty has a version older than 3.4.5, then `:FZF` in Vim will start an extra `cmd.exe` window on mintty to circumvent the aforementioned limitation.
|
||||
See https://github.com/junegunn/fzf/issues/3809 for further details.
|
||||
|
||||
Fzf works fine on [ConEmu](https://github.com/salmarko/RevealingModulePattern/releases/download/soft/Installer.zip), the default Command Prompt (`cmd.exe`) and [Clink](https://github.com/chrisant996/clink-fzf) and in [Powershell](https://github.com/kelleyma49/PSFzf)
|
||||
|
||||
Reference in New Issue
Block a user