Junegunn Choi
41e916a511
[perf] evaluateBonus can start from sidx - 1
2016-08-14 11:58:47 +09:00
Junegunn Choi
d9c8a9a880
[perf] Remove memory copy when using string delimiter
2016-08-14 04:30:55 +09:00
Junegunn Choi
ddc7bb9064
[perf] Optimize AWK-style tokenizer for --nth
...
Approx. 50% less memory footprint and 40% improvement in query time
2016-08-14 02:19:29 +09:00
Junegunn Choi
1d4057c209
[perf] Avoid allocating rune array for ascii string
...
In the best case (all ascii), this reduces the memory footprint by 60%
and the response time by 15% to 20%. In the worst case (every line has
non-ascii characters), 3 to 4% overhead is observed.
2016-08-14 00:41:30 +09:00
Junegunn Choi
822b86942c
[test] Clear environment variables
2016-08-13 19:26:36 +09:00
Junegunn Choi
1e74dbb937
:hidden property of previous --preview-window should be cleared
...
Fix #636 . Patch suggested by @edi9999.
2016-08-12 01:16:59 +09:00
Junegunn Choi
7cef92fffe
[vim] Delete fzf buffer even when exit status is non-zero
...
Fix #183
2016-08-02 03:30:17 +09:00
Junegunn Choi
42e4992f06
[vim] Make sure to delete fzf buffer
...
Close junegunn/fzf.vim#173 and #630
2016-08-02 02:25:02 +09:00
Junegunn Choi
a6066175c6
Merge pull request #630 from kassio/master
...
Remove `name` option from `termopen`.
2016-07-30 19:05:43 +09:00
Kassio Borges
27444d6b1e
Remove name
option from termopen
.
...
`termopen` no longer accepts a `name` option, instead we should suffix the
command with `;#NAME`.
2016-07-29 11:10:46 +01:00
Junegunn Choi
d6a99c0391
[vim] v:shell_error can change around redraw!
...
Patch suggested by Mariusz Atamańczuk
2016-07-28 01:41:11 +09:00
Junegunn Choi
f787f7e651
[vim] Add fzf#wrap helper function
...
Close #627
2016-07-26 02:37:12 +09:00
Junegunn Choi
a7c9c08371
[vim] Make :FZF command configurable with g:fzf_layout
...
To make it consistent with the other commands in fzf.vim
2016-07-21 01:47:08 +09:00
Junegunn Choi
fccc93176b
0.13.3
2016-07-16 01:06:53 +09:00
Junegunn Choi
6439a138fe
[install] Build fzf if prebuilt binary doesn't work
...
Close #617
2016-07-16 00:36:35 +09:00
Junegunn Choi
a9a29dff4f
Fix duplicate rendering of the last line in preview window
2016-07-15 23:24:14 +09:00
Junegunn Choi
6a52f8b8dd
[zsh-completion] setopt localoptions noksh_arrays
...
Close #607
2016-07-15 01:26:29 +09:00
Junegunn Choi
a1049328d6
[vim] Adjust split size when --header option is set
...
Close #622
2016-07-14 13:35:18 +09:00
Junegunn Choi
5c2b96bd00
[vim] Fix error with multi-line $FZF_DEFAULT_COMMAND
...
Close #620
2016-07-13 13:15:14 +09:00
Junegunn Choi
c36413fdf6
[zsh] Suppress error message when pipefail is not supported
...
Close #615
2016-07-11 17:47:41 +09:00
Junegunn Choi
52cf5af91c
[test] Fix test failure on Travis CI
...
No guarantee in the order in which files are listed
2016-07-10 15:44:44 +09:00
Junegunn Choi
3a4e053af7
[bash] Fall back to send-keys if named paste buffer is not supported
...
Related: #616
2016-07-10 15:21:28 +09:00
Junegunn Choi
049bc9ec68
[fzf-tmux] Add man page
2016-07-10 14:44:00 +09:00
Junegunn Choi
b461a555b8
[fzf-tmux] Add --version and --help flags
2016-07-10 14:41:06 +09:00
Junegunn Choi
0f87b2d1e1
[fzf-tmux] Use double brackets
...
For consistency and (negligible) performance improvement
2016-07-10 14:34:29 +09:00
Junegunn Choi
0fb5b76c0d
[fzf-tmux] Fail fast if fzf excutable is not found
2016-07-10 14:28:58 +09:00
Junegunn Choi
0c918dd87a
Merge pull request #616 from seanlaguna/master
...
Use tmux buffers for sending output to preserve character encoding
2016-07-10 12:29:32 +09:00
Junegunn Choi
05299a0fee
[test] Use tmux buffer in unicode test cases
...
Related #616
2016-07-10 12:27:01 +09:00
Sean
b36b0a91f5
use tmux buffers for sending output to preserve character encoding
2016-07-09 09:47:20 -05:00
Junegunn Choi
6081eac58a
[shell] Suppress alias/function expansion
...
Close #611
2016-07-07 01:40:14 +09:00
Junegunn Choi
942ba749c7
[vim] Restore working directory even when new window is opened
...
Close #612
2016-07-06 13:31:04 +09:00
Junegunn Choi
f941012687
Merge pull request #610 from eigengrau/master
...
[zsh] Re-initialize zle when widgets finish
2016-07-05 21:50:43 +09:00
Sebastian Reuße
fed5e5d5af
[zsh] Re-initialize zle when widgets finish
...
zle automatically calls zle-line-init when it starts to read a new line. Many
Zsh setups use this hook to set the terminal into application mode, since this
will then allow defining keybinds based on the $terminfo variable (the escape
codes in said variable are only valid in application mode).
However, fzf resets the terminal into raw mode, rendering $terminfo values
invalid once the widget has finished. Accordingly, keyboard bindings defined
via $terminfo won’t work anymore.
This fixes the issue by calling zle-line-init when widgets finish. Care is taken
to not call this widget when it is undefined.
Fixes #279
2016-07-05 08:57:11 +02:00
Junegunn Choi
b864885753
[install] Make sure to unset pipefail
2016-07-04 13:05:26 +09:00
Junegunn Choi
64747c2324
[install] Fix error in install script
...
Close #608
2016-07-04 13:00:30 +09:00
Junegunn Choi
34965edcda
[install] Fall back to wget if curl failed
...
Close #605
2016-07-04 01:41:43 +09:00
Junegunn Choi
bd4377084d
Merge pull request #601 from blueyed/zsh-ret-for-fzf-file-widget
...
zsh: pass through exit code from fzf with fzf-file-widget
2016-06-18 23:17:10 +09:00
Daniel Hahler
38a2076b89
zsh: pass through exit code from widgets
...
This allows to have a custom widget like the following, which would
additionally accept the line, but only in case of entries being
selected:
fzf-file-widget-with-accept() {
zle fzf-file-widget
if [[ "$?" == 0 ]] && (( $#BUFFER )); then
zle accept-line
fi
}
zle -N fzf-file-widget-with-accept
bindkey '\e^T' fzf-file-widget-with-accept
With this `<C-a>t` will launch fzf, and simulate the pressing of "Enter"
afterwards.
2016-06-16 20:20:29 +02:00
Junegunn Choi
5759d50d4a
0.13.2
2016-06-16 02:16:13 +09:00
Junegunn Choi
e455836cc9
Fix race condition where preview window is not properly cleared
2016-06-15 13:15:17 +09:00
Junegunn Choi
8a90f26c8a
0.13.1
2016-06-14 21:53:00 +09:00
Junegunn Choi
24e1fabf2e
Do not process ANSI codes in --preview output at once
...
Close #598
2016-06-14 21:52:47 +09:00
Junegunn Choi
c39c039e15
[shell] Add $FZF_CTRL_T_OPTS and $FZF_ALT_C_OPTS
...
Close #596
2016-06-12 20:48:23 +09:00
Junegunn Choi
07f176f426
Merge pull request #595 from aykamko/speed-up-fzf-completion
...
Optimize fzf_default_completion binding
2016-06-12 11:56:49 +09:00
Aleks Kamko
19339e3a6d
optimize fzf_default_completion binding
2016-06-11 15:19:16 -07:00
Junegunn Choi
3e1d6a7bcf
0.13.0
2016-06-12 02:15:11 +09:00
Junegunn Choi
2bbc12063c
Add --preview and --preview-window
...
Close #587
2016-06-11 19:59:12 +09:00
Junegunn Choi
b8737b724b
Ignore controls chars for bracketed paste mode
...
Close #594
2016-06-11 12:14:34 +09:00
Junegunn Choi
d91c3a2f5e
Merge pull request #593 from edi9999/master
...
Add fzf_prefer_tmux option
2016-06-10 22:58:58 +09:00
Edgar Hipp
fe5db5aadc
Add fzf_prefer_tmux option
2016-06-10 09:05:05 +02:00