Junegunn Choi
66d55fd893
Make preview windows scrollable
...
Close #669
You can use your mouse or binadble preview-up and preview-down actions
to scroll the content of the preview window.
fzf --preview 'highlight -O ansi {}' --bind alt-j:preview-down,alt-k:preview-up
2016-09-25 02:02:00 +09:00
Junegunn Choi
7fa5e6c861
0.15.1
2016-09-21 01:28:24 +09:00
Junegunn Choi
00f96aae76
Avoid rendering delay when displaying extremely long lines
...
Related #666
2016-09-21 01:23:41 +09:00
Junegunn Choi
a749e6bd16
Fix temp directory in a test case
2016-09-21 01:15:35 +09:00
Junegunn Choi
791076d366
Fix panic when pattern occurs after 2^15-th column
...
Fix #666
2016-09-21 01:15:06 +09:00
Junegunn Choi
37f43fbb35
Add --print0 option
...
Related: #660
2016-09-19 01:15:38 +09:00
Junegunn Choi
401a5fd5ff
Printable character in --expect set should not affect --print-query
2016-09-18 14:34:50 +09:00
Junegunn Choi
1854922f0c
Truncate the query string if it's too long
...
Use hard-coded limit to keep it simple. An alternative is to dynamically
calculate the width of the visible area and use it as the limit, but it
can cause unwanted truncation of the query on screen resize/split.
2016-09-18 14:34:48 +09:00
Junegunn Choi
2fc7c18747
Revise ranking algorithm
2016-09-18 14:34:46 +09:00
Junegunn Choi
8ef2420677
Update README
2016-09-13 04:12:03 +09:00
Junegunn Choi
cf6f4d74c4
Merge pull request #657 from ishanray/patch-1
...
Fix typo in comment
2016-09-11 12:13:40 +09:00
Junegunn Choi
1c81a58127
Merge pull request #654 from qiemem/fix-tmux-groups-dont-break-sockets
...
[fzf-tmux] Make fzf target correct session in group
2016-09-07 21:36:32 +09:00
Junegunn Choi
22b089e47e
Revert "Unset TMUX before splitting window" ( #648 )
...
This reverts commit 4d4447779f .
2016-08-31 14:20:29 +09:00
Junegunn Choi
b166f18220
Merge pull request #646 from qiemem/fix-tmux-groups
...
[fzf-tmux] Fix grouped tmux session confusion
2016-08-29 12:47:43 +09:00
Junegunn Choi
68600f6ecf
Merge pull request #645 from ckafi/split-without-IFS
...
[zsh-completion] Split default zsh binding at the correct place
2016-08-29 12:47:14 +09:00
Junegunn Choi
d87390934e
[neovim] Do not resize if the size of the screen has changed
...
Related #642
2016-08-28 19:27:18 +09:00
Junegunn Choi
411ec2e557
Merge branch 'joshuarubin-master'
2016-08-28 19:18:13 +09:00
Junegunn Choi
f958c9daf5
[vim] Tilde prefix is not allowed for left or right layout
2016-08-24 01:15:35 +09:00
Junegunn Choi
b86838c2b0
0.13.5
2016-08-21 05:02:45 +09:00
Junegunn Choi
1f7d1f9b15
Update Centos Dockerfile to use Go 1.7
2016-08-21 04:54:53 +09:00
Junegunn Choi
f8fdf9618a
No need to cache the result in filtering mode (--filter)
2016-08-20 02:06:57 +09:00
Junegunn Choi
827a83efbc
Remove Offset slice from Result struct
2016-08-20 01:53:32 +09:00
Junegunn Choi
3e88849386
[vim] Fix "E706: Variable type mismatch for: arg"
2016-08-19 18:02:32 +09:00
Junegunn Choi
608c416207
Add missing sources
2016-08-19 03:27:42 +09:00
Junegunn Choi
62f6ff9d6c
[vim] Make arguments to fzf#wrap() optional
...
fzf#wrap([name string,] [opts dict,] [fullscreen boolean])
2016-08-19 03:05:22 +09:00
Junegunn Choi
37dc273148
Micro-optimizations
...
- Make structs smaller
- Introduce Result struct and use it to represent matched items instead of
reusing Item struct for that purpose
- Avoid unnecessary memory allocation
- Avoid growing slice from the initial capacity
- Code cleanup
2016-08-19 02:39:32 +09:00
Junegunn Choi
f7f01d109e
Set the upper limit of the number of search go routines
2016-08-19 01:55:38 +09:00
Junegunn Choi
01ee335521
Remove duplicate code
2016-08-18 03:11:54 +09:00
Junegunn Choi
0e0de29b87
Inline function calls in tight loops
...
By only using leaf functions
2016-08-18 01:48:52 +09:00
Junegunn Choi
babf877fd6
Increase the number of go routines for search
...
Sort performance increases as the size of each sublist decreases (n in
nlog(n) decreases). Merger is then responsible for merging the sorted
lists in order, and since in most cases we are only interesed in the
matches in the first page on the screen so the overhead in the process
is negligible.
2016-08-18 01:46:05 +09:00
Junegunn Choi
935272824e
Setting GOMAXPROCS is no longer needed
...
https://golang.org/doc/go1.5
2016-08-17 02:21:33 +09:00
Junegunn Choi
3a9532c8fd
Increase read buffer size to 64KB
2016-08-16 02:06:15 +09:00
Junegunn Choi
c4c92142a6
0.13.4
2016-08-14 18:10:21 +09:00
Junegunn Choi
d4b6338102
Lint
2016-08-14 17:51:34 +09:00
Junegunn Choi
8df7d962e6
Improve rendering time of long lines
2016-08-14 17:44:11 +09:00
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
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
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
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
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
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
Junegunn Choi
cf9c957c66
Update test_execute_shell ( #590 )
2016-06-08 02:16:07 +09:00
Junegunn Choi
68b60c6d19
Update test_execute_multi ( #590 )
2016-06-08 02:15:22 +09:00
Junegunn Choi
3a644b16a4
Update test_execute ( #590 )
2016-06-08 02:04:40 +09:00
Junegunn Choi
95b34de339
[bash/zsh] Fix $FZF_CTRL_R_OPTS with option values with spaces
2016-06-08 01:30:26 +09:00
Junegunn Choi
6a431cbf49
[fzf-tmux] Escape $ in arguments
...
e.g. fzf-tmux -q '$PATH'
Related: #343
2016-06-08 01:27:22 +09:00
Junegunn Choi
56fb2f00b3
Use single-quoted strings in execute action
...
Close #590
2016-06-08 00:54:21 +09:00
Junegunn Choi
1c86aaf342
[vim/fzf-tmux] Handle fzf project directory with spaces
...
Close #583
2016-06-03 12:09:31 +09:00
Junegunn Choi
cfc0b18eaa
Revert "Change tmux pane title for fzf splits"
...
This reverts commit f074709fc9 .
Close #586 . /cc @akashin
2016-06-03 12:02:21 +09:00
Junegunn Choi
412c211655
[vim] Use lcd instead of chdir
...
https://github.com/junegunn/fzf.vim/issues/147
2016-06-02 22:24:47 +09:00
Junegunn Choi
923feb69ab
[zsh] Fix indentation
2016-06-02 22:01:26 +09:00
Junegunn Choi
92dba7035a
Merge pull request #584 from jimbocoder/master
...
Take SSH completion hints from known_hosts
2016-06-02 21:58:59 +09:00
Junegunn Choi
cd5e4d9402
Merge pull request #582 from akashin/master
...
[fzf-tmux] Change tmux pane title for fzf splits
2016-06-01 17:07:07 +09:00
Junegunn Choi
e0b29e437b
[bash] Use backticks to avoid delay with blink-matching-paren
...
Close #580
2016-05-29 02:11:50 +09:00
Junegunn Choi
bdb94fba7d
[zsh] Fix #579 - Locally unset globsubst
2016-05-26 00:52:06 +09:00
Junegunn Choi
2f364c62f4
0.12.2
2016-05-19 01:55:54 +09:00
Junegunn Choi
7ed9f83662
Validate jump label characters
...
Also extend default jump labels
2016-05-19 01:46:22 +09:00
Junegunn Choi
f498a9b3fb
Revert version number
2016-05-18 22:47:57 +09:00
Junegunn Choi
13330738b8
Do not match jump labels beyond the screen limit
2016-05-18 22:45:34 +09:00
Junegunn Choi
e53535cc61
Update default jump labels
2016-05-18 22:44:31 +09:00
Junegunn Choi
c62fc5e75c
More named keys: F5 ~ F10, ALT-/
2016-05-18 22:25:09 +09:00
Junegunn Choi
70245ad98c
[make] Reduce the size of the binaries with -ldflags -w
...
Related: #555
2016-05-18 13:29:27 +09:00