Commit Graph

2106 Commits (a0b42e6538092dc6dea9f918a7a74c9408e44d4c)
 

Author SHA1 Message Date
dependabot[bot] 3df6b2a58c
Bump github.com/mattn/go-runewidth from 0.0.12 to 0.0.13 (#2591)
Bumps [github.com/mattn/go-runewidth](https://github.com/mattn/go-runewidth) from 0.0.12 to 0.0.13.
- [Release notes](https://github.com/mattn/go-runewidth/releases)
- [Commits](https://github.com/mattn/go-runewidth/compare/v0.0.12...v0.0.13)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-runewidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Vlastimil Ovčáčík b8aa2d2c32 Minor refactoring tcell library from tui.go to tcell.go
To prevent including tcell library in non-windows builds.
3 years ago
Vlastimil Ovčáčík 0ff885461b Add mouse support to the FullscreenRenderer 3 years ago
Vlastimil Ovčáčík ca43f95fb1 Fix Backspace key to emit BSpace and AltBS events instead of CtrlH
CtrlH events are still sent when appropriate. I have adjusted
FullscreenRenderer to match the LightRenderer's behaviour, which seems
to be correct.
3 years ago
Vlastimil Ovčáčík 09700f676b Add CtrlCaret keyboard event to FullscreenRenderer 3 years ago
Vlastimil Ovčáčík 4271e9cffa Fix Ctrl+Space key combination to emit CtrlSpace instead of Rune ' ' 3 years ago
Vlastimil Ovčáčík f3dc8a10d5 Add ability to type AltGr characters in FullscreenRenderer on Windows. 3 years ago
Vlastimil Ovčáčík 00fb486f6a [tests] Add testing of keyboard events in FullscreenRenderer.GetChar()
This contains one test case of each tcell.Key* event type that can be
sent to and subsequently processed in fzf's GetChar(). The test cases
describe status quo, and all of them PASS.

Small function util.ToTty() was added. It is similar to util.IsTty(),
but for stdout (hence the To preposition).
3 years ago
Junegunn Choi 4173e94c6f
Do not check for --height support on --version
https://github.com/junegunn/fzf.vim/issues/1329
3 years ago
Hiroki Konishi 261d3d3340 fix: replace broken links with archived ones 3 years ago
Hiroki Konishi 15e20fcae1 fix: spelling `Refence` -> `Reference` 3 years ago
Vlastimil Ovčáčík f4f47f5fe3 Minor changes
- obsolete todo removed, I tested the ev.ch for " " char and it works just
fine
3 years ago
Vlastimil Ovčáčík 71d11de7ca [tests] Change tests to output to stdout only with verbose flag
This hides stdout output unless "go test -v" was run.
3 years ago
Vlastimil Ovčáčík 88d74a15aa
Change the tests to run on Windows (#2615)
Most of the "expected" strings in terminal.go test were changed to
"text/template" values. Quotes in those string were parametrized in
the templates. Two functions handling templates were added
for convenience.

Templates has the advantage of:
- parametrize repetitive strings inside "expected" values
  - inner and outer quotes were parametrized in templates
  - long and confusing test values are more readable
- templates can be localized for other operating systems
3 years ago
Junegunn Choi 0f02fc0c77
Reset {n} after reload
Fix #2611
3 years ago
Keating950 3f90fb42d8
Fix spelling error (Extention -> Extension) (#2589) 3 years ago
Daniel Bast 9bd8988300
Add dependabot config for dependency updates (#2573) 3 years ago
a1346054 3c804bcfec fix spelling 3 years ago
a1346054 cca4cdc4f1 improve test logic and be explicit about the test 3 years ago
a1346054 8f899aaf8a use proper bash-style notation 3 years ago
a1346054 e53b4bb439 always use [[ ... ]] and not [ ... ] in bash completions 3 years ago
a1346054 ab247a1309 use consistent style for bash [[ ... ]] 3 years ago
Michael Kelley c21e9edad4
Restore VT hack for Windows (#2580)
- restore VT enable hack
- resolve an issue reported in https://github.com/kelleyma49/PSFzf
3 years ago
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`
3 years ago
Junegunn Choi 7191ebb615
Do not show preview window by default if `--preview` is empty
Close #2516
3 years ago
Junegunn Choi a74731d7f5
[vim] Add 'sinklist' as a synonym to 'sink*'
So that it's easier to add a sinklist function to a spec dictionary.

  let spec = { 'source': source, 'options': ['--preview', preview] }
  function spec.sinklist(matches)
    echom string(a:matches)
  endfunction

  call fzf#run(fzf#wrap(spec))
3 years ago
Junegunn Choi e086f0b3fe
0.27.2 3 years ago
Junegunn Choi 8255aa23f4
Fix bug where `--read0` not properly displaying long lines
Fix #2508
3 years ago
Junegunn Choi a4bc08f5a3
Allow specifying 16 base ANSI colors by their names
Close #2502
3 years ago
Thomas Klausner 7e5aa1e2a5
Mention NetBSD package and how to install it (#2499)
Close #2487
3 years ago
Junegunn Choi 0818dbc36a
0.27.1 3 years ago
Junegunn Choi 347c4b2625
Add 'unbind' action
Fix #2486
3 years ago
Junegunn Choi 34f0d4d0c4
[man] Clarification on --select-1 and --exit-0 3 years ago
Junegunn Choi cbedb57511
[vim] Workaround for Neovim bug of unconditionally evaluating `unlet $ENV_VAR`
See #2495
3 years ago
Junegunn Choi 9ef825d2fd
[vim] Update README-VIM 3 years ago
Junegunn Choi 85ae745910
[vim] Use terminal buffer on 'down' layout on regular Vim on terminal
When 'down' layout was used on regular Vim on terminal, fzf would open
below the editor using `--height` option. This was the only case where
terminal buffer was not used (the code was written when Vim didn't have
builtin terminal) and this exception has been a constant source of
confusion.

This commit makes fzf open in a terminal buffer even in that case.
3 years ago
Junegunn Choi 7411da8d5a
[vim] Use FZF_DEFAULT_COMMAND instead of STDIN pipe
So that fzf can finish immediately even when the input process doesn't
handle SIGPIPE and keeps running.

Fix #2481
3 years ago
Junegunn Choi 3f75a8369f
Replace RuneWidth to StringWidth to handle grapheme clusters
Fix #2482
3 years ago
Junegunn Choi 4cd621e877
ADVANCED.md: tmux 3.2 is officially released 3 years ago
Junegunn Choi 6e3a2fe0bf
[vim] Fix screen offset of relatively positioned popup window
Fix #2461
3 years ago
Tom Picton 8b0e1f941a
[vim] Support relative-to-window positioning of popup (#2443)
Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
3 years ago
Junegunn Choi c7c5e7670a
Fix goreleaser.yml 3 years ago
Junegunn Choi f6c621ef1b
Update ADVANCED.md
Remove unnecessary --color option
3 years ago
Junegunn Choi faf32d451d
Update ADVANCED.md 3 years ago
Junegunn Choi 252fd7ecb1
Update ADVANCED.md 3 years ago
Junegunn Choi 7fa89dddb4
Update README.md: Examples page 3 years ago
Junegunn Choi fefdb8c84e
Fix typo 3 years ago
Junegunn Choi a6cc05936e
ADVANCED.md: Clarification on {q} 3 years ago
Junegunn Choi b209843545
Advanced fzf examples 3 years ago
Junegunn Choi 19759ed36e
0.27.0 3 years ago