Commit Graph

1107 Commits (01b88539ba912da4f49cfba48e2a736c04ec6006)
 

Author SHA1 Message Date
Junegunn Choi bb70923cd8 Fix flaky test cases 8 years ago
Junegunn Choi 772fa42dcb [fish] Fix intermittent errors on CTRL-T
Related: 23244bb
8 years ago
Junegunn Choi 85ef3263fc Fix incorrect cache reference in --exact mode (#547)
When we prepend a single quote to our query in --exact mode, we are not
supposed to limit the scope of the new search to the previous
exact-match result.
8 years ago
Junegunn Choi 4bde8de63f Apply new ranking algorithm to exact match as well 8 years ago
Junegunn Choi 654a7df9b0 [neovim] Set bufhidden and nobuflisted after opening terminal 8 years ago
Junegunn Choi c3aa836ec0 [bash] Update completion.bash
[bash] Update completion.bash
8 years ago
Junegunn Choi 95764bef6f Merge pull request #550 from gene-pavlovsky/gene-pavlovsky-patch-2
[bash] Update key-bindings.bash
8 years ago
Gene Pavlovsky 63dbf48546 Update key-bindings.bash
Faster startup. Use internal bash globbing instead of external grep binary (adapter from Gentoo's `/etc/bash/bashrc` TERM checking). Insignificant on Linux, but on Cygwin this cuts startup time by 40 ms on my Core i7 laptop.
8 years ago
Gene Pavlovsky e2401350a3 Update completion.bash
Fixes #548. Avoid using a subshell in _fzf_defc().
8 years ago
Junegunn Choi e867355b2a [neovim] Restore winfixwidth and winfixheight
Fix https://github.com/junegunn/fzf.vim/issues/128
8 years ago
Junegunn Choi b28c14b93a 0.12.0 8 years ago
Junegunn Choi 879ead210f 0.11.2 8 years ago
Junegunn Choi 2f6d23b91e Enhanced ranking algorithm
Based on the patch by Matt Westcott (@mjwestcott).
But with a more conservative approach:
- Does not use linearly increasing penalties; It is agreed upon that we
  should prefer matching characters at the beginnings of the words, but
  it's not always clear that the relevance is inversely proportional to
  the distance from the beginning.
- The approach here is more conservative in that the bonus is never
  large enough to override the matchlen, so it can be thought of as the
  first implicit tiebreak criterion.
- One may argue the change breaks the contract of --tiebreak, but the
  judgement depends on the definition of "tie".
8 years ago
Junegunn Choi 5f63a7b587 Fix flaky test case 8 years ago
Junegunn Choi d9ce797d88 Merge pull request #540 from WChargin/bash-vimode-delay-fix
[bash] Fix vi mode pre-launch delay
8 years ago
William Chargin 12230f8043 Fix bash-vimode normal-mode cd completion 8 years ago
William Chargin 0c8de1ca44 Fix Bash+vimode pre-launch delay
Summary:
Fix adapted from [@adamheins: fzf, vi-mode, and fixing delays][1].

  [1]: https://adamheins.com/blog/fzf-vi-mode-and-fixing-delays

The basic problem is that
fzf presses <Esc> to enter vi-movement-mode
(as opposed to insert mode)
and then presses a bunch of keys to set up the buffer.
But the <Esc> keypress is also the prefix for a bunch of other commands,
so Bash will dutifully wait an excruciating half-second
before actually executing this command.
Instead, we bind <C-x><C-a>, which is unused by default
and seems reasonably unlikely to be custom-bound,
to be another way to enter vi-movement-mode;
this binding is unambiguous, so fzf can use it without delay.

This change was made by just `:s/\\e/\\C-x\\C-a/gc`
in the relevant section,
after adding the actual binding and comment at the top.
8 years ago
Junegunn Choi 89687105f4 [install] Ask before updating shell configuration files 8 years ago
Junegunn Choi 74d1694be9 Fix #541 - Print double-click when --expect=double-click is set 8 years ago
Junegunn Choi 935e986be5 [zsh] Remove unnecessary evals 8 years ago
Junegunn Choi e5ac2ebd7c [vim] Escape $
https://github.com/junegunn/fzf.vim/issues/114
8 years ago
Junegunn Choi 8d6e13bf94 Merge pull request #535 from mjwestcott/master
Fix algorithm tests
8 years ago
Matt Westcott 2ca704405a Fix algorithm tests 8 years ago
Junegunn Choi 802c1c2937 Clean up install script
- Do not create zsh files if zsh is not installed (@adam8157)
- Use command -v instead of which (@netei)
- Reenable --pre option

Close #531
8 years ago
Junegunn Choi 3cb5fef6b6 Merge pull request #529 from mjwestcott/master
Fix typo in README.md
8 years ago
Matt Westcott 6da2e0aa1e Fix typo in README.md 8 years ago
Junegunn Choi 24f3ec7f33 Fix FZF_CTRL_R_OPTS for zsh (#526) 8 years ago
Junegunn Choi a57b375b41 Add $FZF_CTRL_R_OPTS for overriding the default options for CTRL-R
Close #526
8 years ago
Junegunn Choi 6cc9d53978 [fzf-tmux] Fix invalid redirection 8 years ago
Junegunn Choi df32c05833 [fzf-tmux] Fix issues on tmux 1.8 8 years ago
Junegunn Choi c0652adf4c [fzf-tmux] tmux 1.6 compatibility
Patch submitted by @netei. Close #524.
8 years ago
Junegunn Choi 6ea760a336 Make 32-bit linux binary (partially) static (#523) 8 years ago
Junegunn Choi f704b94603 [neovim] Open tab before current tab
Related: https://github.com/junegunn/gv.vim/issues/19
8 years ago
Junegunn Choi 444a67cafa Fix flaky test cases 8 years ago
Junegunn Choi f91cbd5688 Add ISSUE_TEMPLATE.md
Close #500
8 years ago
Junegunn Choi 3073ca3e5a [neovim] Take total number of tab pages into account (#520)
This fixes the problem where a new tab page is not closed when the
following configuration is used:

  let g:fzf_layout = { 'window': 'execute (tabpagenr()-1)."tabnew"' }
8 years ago
Junegunn Choi b47ab633e2 0.11.4 8 years ago
Junegunn Choi 09a2ab39fe [bash] Fix shellcheck warnings
Close #516
8 years ago
Junegunn Choi 6cf54833f7 Fix flaky test case 8 years ago
Junegunn Choi 2ccdf21a1f Add --hscroll-off=COL option
Close #513
8 years ago
Junegunn Choi cf8afc527e Remove .gitmodules 8 years ago
Junegunn Choi 1d6f05f974 [man] Fix invalid exit status in man page
Close #511
8 years ago
Junegunn Choi 85751966e9 Merge pull request #506 from justinmk/fixvarmismatch
[vim] s:callback: Always return list.
8 years ago
Justin M. Keyes a7bc9d5351 s:callback: Always return list.
Fixes "E706: Variable type mismatch for: ret" when an exception is
caught.
8 years ago
Junegunn Choi 42c006d07c Update install script to try "go get ..."
Related: #470, #497
8 years ago
Junegunn Choi 1b9ca314b8 Update build script
- GOPATH is no longer required
- fzf repository does not have to be in GOPATH
- Build Linux binary with Go 1.5.3
8 years ago
Junegunn Choi e72a360337 Minor refactoring
- Slightly more efficient processing of Options
- Do not return reference type arguments that are mutated inside the
  function
- Use util.Constrain function when appropriate
8 years ago
Junegunn Choi 45108ddd53 Merge pull request #496 from noscript/master
Go 1.3 compatibility
8 years ago
Sergey Vlasov e3401a0645 Go 1.3 compatibility 8 years ago
Junegunn Choi 26b9100709 Minor code cleanup 8 years ago