Commit Graph

2824 Commits (6de0a7ddc11dd9d4a2261e9642a99f3901e0ae27)
 

Author SHA1 Message Date
Junegunn Choi 12630b124d
Make --tmux argument optional 4 months ago
Junegunn Choi 1d59ac09d2
Pass-through error message from 'tmux display-popup'
fzf --tmux 9999
    # height too large
4 months ago
Junegunn Choi a8f3a0dd59
Merge branch 'master' into devel 4 months ago
Konstantin-Glukhov 124cd70710
[vim] Do not prepend CWD to path starting with a backslash on Windows (#3820)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
4 months ago
Junegunn Choi 782de139c8
[vim] Native --tmux fix for Neovim 4 months ago
Junegunn Choi 32eb32ee5e
Add multi-line example to CHANGELOG 4 months ago
Junegunn Choi 2f51eb2b41
Different marker for the first and last line of multi-line entries
Can be configured via `--marker-multi-line`
4 months ago
Junegunn Choi 0ccbd79e10
Fix --help output: marker default
Co-authored-by: LangLangBart <92653266+LangLangBart@users.noreply.github.com>
4 months ago
junegunn 99bd6de541 Deploying to master from @ junegunn/fzf@daa602422d 🚀 4 months ago
Junegunn Choi 1fef36e4bc
Do not allow tabs in pointer and marker 4 months ago
Junegunn Choi 89375005b5
Fix option validation order 4 months ago
Junegunn Choi 88e78c9193
Update integration test to use named pipes 4 months ago
Junegunn Choi 29a19ad080
Update CHANGELOG 4 months ago
Junegunn Choi 2a039ab746
Describe exit code 126 4 months ago
Junegunn Choi 7e9a0fcdbd
Change default --scroll-off to 3 4 months ago
Junegunn Choi 7a97532547
Fix --scroll-off for multi-line mode 4 months ago
Junegunn Choi 996abb2831
Fix incorrect colors for selected-{fg,bg,hl}
When a non-default base color scheme is specified, fzf would choose incorrect
colors for selected-*.

  fzf --color 'light,fg:238,bg:255,bg+:253' -m
4 months ago
Junegunn Choi da500a358f
Use bold bar as the default marker 4 months ago
Junegunn Choi c36b846acc
[vim] Open cmd.exe window only on mintty < 3.4.5 without winpty 4 months ago
Junegunn Choi d9b5c9b2be
Address review comments by @Konfekt
d4216b0dcc
4 months ago
Junegunn Choi 3dee8778d0
execute: Open separate handles to /dev/tty (in, out, err)
# This will no longer cause 'Vim: Warning: Output is not to a terminal'
  fzf --bind 'enter:execute:vim {}' > /tmp/foo
4 months ago
Junegunn Choi d4216b0dcc
Use MSYS=enable_pcon instead of winpty on mintty 3.4.5 or later 4 months ago
Enno bfe2bf4dce
[vim] Git Bash Mintty: only use cmd.exe if winpty missing (#3811)
* Git Bash Mintty: only use cmd.exe if winpty missing

Addresses https://github.com/junegunn/fzf/issues/3809

* preferably use term in Git Bash for popup window

See https://github.com/junegunn/fzf/pull/3811#issuecomment-2124241321
4 months ago
Junegunn Choi 561f9291fd
[vim] Replace backslashes with forward slashes on win32unix 4 months ago
Junegunn Choi b5b0d6b3ea
Do not run as winpty proxy if winpty is not available 4 months ago
Junegunn Choi a90426b7ca
Add print(...) action 4 months ago
Junegunn Choi 303c3bae7f
proxy: Pass SIGINT to the child fzf 4 months ago
Junegunn Choi 6b4358f641
An '--expect' key should execute actions bound to the key
Fix #3810
4 months ago
Junegunn Choi 552158f3ad
Ignore SIGINT when running as proxy 4 months ago
Junegunn Choi 7205203dc8
Update CHANGELOG 4 months ago
Junegunn Choi 0cadf70072
Update the summary 4 months ago
Junegunn Choi 076b3d0a9a
Embed man page in the binary and show it on 'fzf --man' 4 months ago
Junegunn Choi 7b0c9e04d3
Change default marker 4 months ago
Junegunn Choi 573df524fe
Use winpty to launch fzf in Git bash (mintty)
Close #3806

Known limitation:
* --height cannot be used
4 months ago
Junegunn Choi aee417c46a
Respect $NO_COLOR environment variable
Close #1762
4 months ago
Junegunn Choi 04db44067d
Implement multi-line display of multi-line items 4 months ago
Junegunn Choi 5b204c54f9
Change default pointer and marker character
* Pointer: '▌'
* Marker: '▏'

They will still be set to '>' if `--no-unicode` is given.

Reasons:
* They look okay
* They work better with multi-line items (WIP)
4 months ago
junegunn daa602422d Deploying to master from @ junegunn/fzf@01e7668915 🚀 4 months ago
Junegunn Choi 04dfb14e32 Do not 'become' inside a tmux popup
fzf --tmux center --bind 'enter:become:vim {}'
4 months ago
Junegunn Choi c24256cba3 Update README
* Tidy up
* Mention `--tmux`
4 months ago
Junegunn Choi 685fb71d89 [vim] Use native --tmux option instead of fzf-tmux when possible 4 months ago
Junegunn Choi 83b6033906 Add --tmux option to replace fzf-tmux script 4 months ago
Zhizhen He 01e7668915
chore: use strings.ReplaceAll (#3801) 4 months ago
Enno 0994d9c881
Make :FZF work in Vim from Git Bash (#3798)
* make :FZF work in Vim from Git Bash

Despite its title 'Calling fzf#run with a list as source fail (n)vim is used from git bash' the issue in 

https://github.com/junegunn/fzf/issues/3777

of running `:FZF` in Vim in Git Bash was apparently only fixed for Neovim in Git Bash on Windows 11, but not for Vim from Git Bash.

In view of this, replacing /C by ///C might be considered a universal fix.

This PR just proposes the patch in https://github.com/junegunn/fzf/issues/1983 that still seems open.

In view of the fourth item in the most recent 2.45.0 https://github.com/git-for-windows/build-extra/blob/main/ReleaseNotes.md#known-issues little seems to have changed regarding path conversion of arguments containing forward slashes

* prefer doubling slashed instead of generic env. var

If MSYS_NO_PATHCONV=1 is used, then all arguments are preserved, in particular possibly paths passed in s:command.
Therefore, only avoid converting `/C` from `cmd` to a path.
4 months ago
LangLangBart 030428ba43
docs: update zsh integration instructions (#3794) 4 months ago
Junegunn Choi 8a110e02b9
Fix tcell test case 4 months ago
Junegunn Choi 86d92c17c4
Refactor tui.TtyIn() 4 months ago
Junegunn Choi c4cc7891b4
Revert "Close handles to /dev/tty", instead reuse handles 4 months ago
Junegunn Choi 218843b9f1
Close handles to /dev/tty 4 months ago
Junegunn Choi d274d093af
Render UI directly to /dev/tty
See https://github.com/junegunn/fzf/discussions/3792

This allows us to separately capture the standard error from fzf and its
child processes, and there's less chance of user errors of redirecting
the error stream and hiding fzf.
4 months ago