Commit Graph

366 Commits

Author SHA1 Message Date
junegunn 884856023a Deploying to master from @ junegunn/fzf@d8188fce7b 🚀 2023-10-08 00:01:43 +00:00
junegunn 4fdc08295b Deploying to master from @ junegunn/fzf@a3ff49aaf1 🚀 2023-10-01 00:01:42 +00:00
junegunn 32b659b346 Deploying to master from @ junegunn/fzf@00809909ae 🚀 2023-09-24 00:01:56 +00:00
junegunn dc97d48491 Deploying to master from @ junegunn/fzf@0f50dc848e 🚀 2023-09-10 00:01:48 +00:00
junegunn a08ab46713 Deploying to master from @ junegunn/fzf@f50a7058d6 🚀 2023-09-02 00:03:23 +00:00
junegunn 2c74f0a040 Deploying to master from @ junegunn/fzf@58835e40f3 🚀 2023-09-01 00:03:34 +00:00
junegunn 8befa5918a Deploying to master from @ junegunn/fzf@df80f7ff2a 🚀 2023-08-28 08:05:07 +00:00
junegunn df80f7ff2a Deploying to master from @ junegunn/fzf@5f66786ef1 🚀 2023-08-28 07:04:03 +00:00
junegunn 03df609d77 Deploying to master from @ junegunn/fzf@178581b560 🚀 2023-08-26 02:06:35 +00:00
junegunn 178581b560 Deploying to master from @ junegunn/fzf@ffd2314120 🚀 2023-08-25 15:04:07 +00:00
junegunn 4baadecda5 Deploying to master from @ junegunn/fzf@cf552b5f3b 🚀 2023-08-21 21:04:10 +00:00
junegunn cf552b5f3b Deploying to master from @ junegunn/fzf@1894304d33 🚀 2023-08-18 15:04:01 +00:00
junegunn 3c279a6f0e Deploying to master from @ junegunn/fzf@40515f11a4 🚀 2023-08-14 07:11:33 +00:00
Junegunn Choi 7374fe73a3
Avoid setting $FZF_DEFAULT_COMMAND
So that it's not propagated to the child processes and affect the
behavior of fzf started by them.

fzf 0.41.0 or above is required as it fixed the issue where
'become' process is not given a proper tty device.

Close #3299
2023-05-26 00:08:20 +09:00
Vitaly Zdanevich e5103d9429
README.md: package managers: add Portage/Gentoo (#3205) 2023-03-22 09:57:50 +09:00
Michael Vorburger ⛑️ 69c52099e7
docs: Fix intention of README (#3214)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
2023-03-20 13:00:33 +09:00
Junegunn Choi 27018787af
Describe become(...) action and use it to simplify examples 2023-02-15 23:24:42 +09:00
sitiom 9e9c0ceaf4
Add Winget Releaser workflow (#3164) 2023-02-15 16:47:12 +09:00
Junegunn Choi acccf8a9b8
Fix TOC 2023-01-23 02:24:13 +09:00
Francesco Bigagnoli 57c066f0be
Fix bat url in README (#3129) 2023-01-23 02:21:16 +09:00
Junegunn Choi a79de11af7
README: Add FZF_TMUX_OPTS example for tmux popup 2023-01-19 13:25:08 +09:00
Junegunn Choi 2023011763
0.36.0 2023-01-17 01:33:05 +09:00
Junegunn Choi 1c83b39691
Update README examples 2023-01-13 21:15:03 +09:00
Farooq Karimi Zadeh 0f032235cf
Correct package manager commands for apt (#3117) 2023-01-10 10:46:13 +09:00
polluks2 a3b6b03dfb
Fix typo (#3093)
Co-authored-by: polluks <polluks@sdf.lonestar.org>
2022-12-17 23:58:43 +09:00
Bjørn Forsman 3f079ba7c6
README.md: Clarify on FZF_*_OPTS (#3064)
At first I thought they were appended to FZF_*_COMMAND. Let's make it
clear that these are passed to `fzf` itself.
2022-12-02 14:57:32 +09:00
Junegunn Choi 9d041aa582
Update README 2022-08-23 13:29:41 +09:00
Junegunn Choi bb07410448
Add --strip-cwd-prefix to fd examples 2022-08-08 13:38:21 +09:00
Junegunn Choi 3c08dca7e7
Fix README examples so that they work both on bash and zsh
Close #2887
2022-07-29 22:03:02 +09:00
Junegunn Choi 52594355bf
[shell] 'kill' completion will now require trigger sequence (**)
'kill **<tab>' instead of 'kill <tab>' just like any other completions.

Close #2716
Close #385
2022-07-21 22:21:11 +09:00
Junegunn Choi f68cbc577d
Add link to ADVANCED.md
Related #2701
2022-01-03 13:52:46 +09:00
Kai 7da287e3aa
README.md: HTTP => HTTPS (#2673) 2021-11-28 22:28:32 +09:00
Junegunn Choi 3715cd349d
Add repology packaging status badge 2021-11-18 15:47:06 +09:00
a1346054 3c804bcfec fix spelling 2021-08-15 16:03:26 +09:00
Leon Tepe 9c21a20f8b
Minor readme change (#2578)
`CTRL-K` moves up and `CTRL-J` moves down, not the other way around (same for `CTRL-P` and `CTRL-N`
2021-08-15 15:57:07 +09:00
Thomas Klausner 7e5aa1e2a5
Mention NetBSD package and how to install it (#2499)
Close #2487
2021-05-23 11:31:55 +09:00
Junegunn Choi 7fa89dddb4
Update README.md: Examples page 2021-04-08 10:06:26 +09:00
Junegunn Choi 19759ed36e
0.27.0 2021-04-06 22:53:59 +09:00
Philipp Schmitt 2048fd4042
Update README (--phony -> --disabled) (#2404) 2021-03-25 20:36:01 +09:00
Junegunn Choi a367dfb22e
README.md: Better example 2021-02-17 16:44:54 +09:00
Hussein Esmail 8e2d21c548
Update README.md (#2353)
Remove Linuxbrew links since Linuxbrew has been merged into Homebrew

* https://brew.sh/2019/02/02/homebrew-2.0.0/
2021-02-17 10:24:35 +09:00
Junegunn Choi 1b61e5e9e9
Clarification on FZF_DEFAULT_COMMAND 2021-02-03 19:40:05 +09:00
Kovarththanan Rajaratnam 0e0bcb3e10
Update README.md (#2337)
--phony was renamed to --disabled in d779ff7e6d
2021-02-01 20:02:20 +09:00
Junegunn Choi af48b3df29
Replace Travis CI badge 2021-01-15 10:21:36 +09:00
Vlad Doster c6115735c7
Update README.md (#2321)
- Correct spelling/grammar
2021-01-13 04:26:10 +09:00
nicolasbarra cbb008c938
Update README to upgrade using brew upgrade (#2309) 2021-01-07 16:50:08 +09:00
Junegunn Choi 8c533e34ea
0.25.0 2021-01-03 00:56:11 +09:00
Junegunn Choi 552414978e
0.24.0-rc1 2020-10-27 11:07:27 +09:00
Junegunn Choi b0987f727b
Clarify that additional installation steps may be required
Close #2211
2020-10-23 22:52:46 +09:00
Junegunn Choi faf68dbc5c
Implement streaming preview window (#2215)
Fix #2212

    # Will start rendering after 200ms, update every 100ms
    fzf --preview 'for i in $(seq 100); do echo $i; sleep 0.01; done'

    # Should print "Loading .." message after 500ms
    fzf --preview 'sleep 1; for i in $(seq 100); do echo $i; sleep 0.01; done'

    # The first line should appear after 200ms
    fzf --preview 'date; sleep 2; date'

    # Should not render before enough lines for the scroll offset are ready
    rg --line-number --no-heading --color=always ^ |
      fzf --delimiter : --ansi --preview-window '+{2}-/2' \
          --preview 'sleep 1; bat --style=numbers --color=always --pager=never --highlight-line={2} {1}'
2020-10-18 17:03:33 +09:00
Junegunn Choi 825d401403
Show how to use reload action 2020-10-05 19:17:31 +09:00
Atemu dda3e3c39a
README: Correct Nix distro support (#2051)
Nix can be installed on (almost) any Linux distro and on macOS.

See https://nixos.org/nix/ for more information.
2020-07-05 15:29:43 +09:00
anntnzrb fd5157998c
Void Linux installation instructions (#2100) 2020-07-03 23:14:12 +09:00
Janek 43d1c4c4b5
README: Use --line-range instead of head in bat example (#2064)
* Use --line-range instead of head in bat example

* README: extend preview section
2020-06-04 11:57:01 +09:00
Junegunn Choi 98ca4bdede
Add conda installation instruction
Close #1949
2020-04-18 13:00:38 +09:00
Janek 3f8e741562
Add more details on apt installation in README.md (#1977) 2020-04-18 12:59:32 +09:00
Junegunn Choi bf65e8cd12 [fzf-tmux] Add option to start fzf in tmux popup window
Requires latest tmux built from source (e.g. brew install tmux --HEAD)

Examples:

  # 50%/50% width and height on the center of the screen
  fzf-tmux -p

  # 80%/80%
  fzf-tmux -p80%

  # 80%/40%
  fzf-tmux -p80%,40%

  # Separate -w and -h
  fzf-tmux -w80% -h40%

  # 80%/40% at position (0, 0)
  fzf-tmux -w80% -h40% -x0 -y0

You can configure key bindings and fuzzy completion to open in tmux
popup window like so:

  FZF_TMUX_OPTS='-p 80%'
2020-04-03 13:23:15 +09:00
Junegunn Choi 50b7608f9d
Change custom fuzzy completion API
To make it easier to write more complex fzf options. Although this
does not break backward compatibility, users are encouraged to update
their code accordingly.

  # Before
  _fzf_complete "FZF_ARG1 FZF_ARG2..." "$@" < <(
    # Print candidates
  )

  # After
  _fzf_complete FZF_ARG1 FZF_ARG2... -- "$@" < <(
    # Print candidates
  )
2020-03-11 18:32:35 +09:00
Chris d8cb5c1cf5
Update README.md: MacPorts upgrade instruction (#1893) 2020-02-26 17:58:54 +09:00
Junegunn Choi 5215415315
[completion] Allow users to customize fzf options via _fzf_comprun
Related #1809 #1850
2020-02-20 00:28:16 +09:00
Junegunn Choi 6c03571887
[vim] Add fzf#install() for downloading fzf binary 2020-02-14 14:04:23 +09:00
Sergey Bronnikov f5cf4fc8fb
README: OpenBSD package (#1848) 2020-02-04 01:16:42 +09:00
Shun Sakai 3918c45ced Update copyright year (#1832)
Update copyright year to 2020 and change to multi-year format.
2020-01-25 01:41:55 +09:00
Junegunn Choi e01266ffcb
Period. 2020-01-19 19:46:17 +09:00
Tony Metzidis f246fb2fc2 Show error message when failed to start preview command (#1810)
Fix #1637
2020-01-19 19:42:10 +09:00
Jack Bates 82bf8c138d [bash] Populate emacs and vi keymaps (#1815)
Enables the right bindings when switching between editing modes.
2020-01-08 18:35:43 +09:00
Junegunn Choi d4ad4a25db
[bash-completion] Fix default alias/variable completion
Fix #1795
2019-12-20 18:39:22 +09:00
Junegunn Choi 30577b0c17
0.20.0 2019-12-18 01:07:25 +09:00
Junegunn Choi 9fefe08b3f
Revert README as preview-{fg,bg} are only available on master 2019-12-13 12:46:27 +09:00
Junegunn Choi 684bfff713
Update README/CHANGELOG 2019-12-13 12:43:34 +09:00
Junegunn Choi 9d842630c9
Mention _fzf_setup_completion helper function for bash 2019-12-06 12:03:34 +09:00
Junegunn Choi a59e846f74
Update installation instruction
Close #1707
Close #1779
2019-12-05 23:10:41 +09:00
Junegunn Choi ef80bd401f
Update installation instruction using Linux package managers
Added NixOS instruction. Close #1731
2019-12-01 23:48:48 +09:00
Ross Smith II 4800e5d2ae Add scoop mention (#1646) 2019-08-06 14:11:28 +09:00
Dan Čermák 7322504ad0 Add installation instructions for openSUSE (#1631) 2019-07-17 11:19:13 +09:00
miclill de569f0052 Add Debian install instructions (#1620) 2019-07-17 11:18:07 +09:00
Mateusz Piotrowski 0fdb71f7e4 Add FreeBSD installation instructions (#1569) 2019-06-05 09:26:04 +09:00
Alexey Samoshkin 8eea45ef50 Add demo screencast video to README (#1557) 2019-04-18 18:49:30 +09:00
AnakinXL 82efe6c60d [doc] Add bat for preview syntax highlighting example (#1538)
Similar to this PR from fzf.vim:
https://github.com/junegunn/fzf.vim/pull/712
2019-03-29 10:31:17 +09:00
Junegunn Choi ba594982f0
Add MacPorts instruction
Close #1521
2019-03-18 18:45:57 +09:00
Christian Muehlhaeuser d4ed955aee Typo & grammar fixes in README (#1413) 2018-11-09 16:50:16 +09:00
Junegunn Choi 3bc98ed623
Add link to related projects page 2018-09-27 02:52:52 +09:00
Junegunn Choi 8540902a35
Add link to git key bindings gist 2018-09-04 12:24:46 +09:00
Akinori MUSHA daa1958f86 Provide an option to reverse items only (#1267) 2018-06-10 01:41:50 +09:00
Daniel Gray 62f062ecfa Remove -y flag from Arch Linux installation (#1290)
https://wiki.archlinux.org/index.php/Partial_upgrades#Partial_upgrades_are_unsupported

You should never `pacman -Sy <pkg>`, Arch users are expected
to keep their system already up-to-date before installing anything.
2018-05-14 17:24:32 +09:00
Junegunn Choi b8296a91b9
Clarify Vim plugin instruction
Close #1251

@amaravora
2018-05-04 16:01:42 +09:00
Junegunn Choi 6e9452b06e
Add Arch Linux installation instruction
Close #1273

@codingCoffee
2018-05-04 16:00:40 +09:00
Robert Orzanna 851fa38251 Add reference to Fedora package documentation (#1255) 2018-04-06 14:10:10 +09:00
Jesse Leite 24236860c8 Document inverse prefix exact match search syntax (#1224)
* Document inverse prefix exact match search syntax.

* Reorder search syntax table to explain basic exact match first.
2018-03-06 16:33:33 +09:00
Junegunn Choi 202872c2dc
Remove PayPal donation button
I've decided not to take more donations.

Thanks to everyone who has supported my projects.

Edgar Hipp
Eyal Levin
Philip Stewart
James O'Beirne
Minh Triet Ly
Victor Alvarez
Max Hung
Gearoid Murphy
Aaron Taylor
Brett Bender
Phil Thompson
Anders Damsgaard
2018-01-06 02:47:42 +09:00
Junegunn Choi 6b27554cdb
Clarify installation instructions 2017-11-22 03:10:20 +09:00
Elliott Sales de Andrade fd03aabeb2 Add Fedora installation information (#1141) 2017-11-14 12:40:17 +09:00
Justin Toniazzo 8068c975c2 Fix broken link in readme TOC (#1131)
The `Respecting .gitignore` link pointed to a section of the readme which no longer exists.
2017-11-08 23:54:46 +09:00
Junegunn Choi a6d2ab3360
Update README: Examples using fd
- https://github.com/sharkdp/fd
- https://mike.place/2017/fzf-fd/

/cc @williamsmj
2017-10-29 23:48:55 +09:00
Junegunn Choi 5784101bea
Suggest ripgrep instead of the silver searcher
Since https://github.com/BurntSushi/ripgrep/issues/200 is fixed in
0.7.1, we can safely suggest ripgrep as the candidate generator as it
has a more precise implementation of gitignore filtering than the silver
searcher.
2017-10-23 13:19:11 +09:00
Junegunn Choi 6ae085f974
Add link to Windows wiki page
Related: #1072
/cc @janlazo
2017-10-15 17:44:25 +09:00
Junegunn Choi cb8e97274e
Update README to add an example of _fzf_compgen_dir
/cc @chrisjohnson

Close #1067
Close #1083
2017-10-14 16:18:46 +09:00
Robert Orzanna 41e0208335 Update Homebrew/Linuxbrew instructions (#1052) 2017-09-17 17:12:20 +09:00
Junegunn Choi a78ade1771
Update link to performance chart 2017-09-07 12:38:34 +09:00
Junegunn Choi 644277faf1
Linuxbrew can install fzf
Close #1017
2017-08-17 16:57:02 +09:00