Junegunn Choi
c980f9d3ce
Fix test-case and improve command-line interface
2014-04-21 23:29:03 +09:00
Junegunn Choi
501af62661
Parallelize search using multiple processes
...
This commit is a proof-of-concept implementation of parallelized search
to take advantage of multiple cores of the system. A multi-threaded
program written in Ruby cannot saturate more than a single core of CPU
because of GIL. So the only way we can use multiple cores is to spawn
multiple processes, split the work, and merge the partial results. The
result of each child process is passed to the parent via pipe in a
serialized form. This serialization and deserialization of the result is
the unavoidable overhead of using multiple processes instead of multiple
threads. Unfortunately, Ruby's default serialization method,
Marshal.dump is found to be so slow that it often shadows the gain
especially when the selectivity of the query is not very good. So in
this implementation I chose to use MessagePack which is at least 5-times
faster than Marshal. However, this will make installing fzf much
trickier for many people. So I'm not sure if I want to merge this code
into the master branch considering that fzf is already pretty fast in
most cases thanks to its caching scheme and the benefit of
parallelization is only noticeable when the list has more than 50k
items.
2014-04-21 02:44:26 +09:00
Junegunn Choi
fe22213b51
Remove gif link
2014-04-14 16:48:54 +09:00
Junegunn Choi
aab42eaaba
Update Vim plugin example
2014-04-12 20:02:04 +09:00
Junegunn Choi
16031b0d54
[Vim] Allow vertical split of tmux window
2014-04-12 19:53:39 +09:00
Junegunn Choi
ded184daaf
Typo
2014-04-12 19:52:25 +09:00
Junegunn Choi
ecf90bd25b
Update README
2014-04-06 15:25:58 +09:00
Junegunn Choi
d82e38adc1
0.8.3
2014-04-05 12:56:10 +09:00
Junegunn Choi
af677e7e35
Vim plugin: do not enable tmux-integration if version < 1.7
2014-04-04 12:43:29 +09:00
Junegunn Choi
6ad38bdad3
Update example: suppress error message from fc on bash ( #37 )
...
`'fc' -l 1` generated an error message on bash
2014-04-04 10:26:38 +09:00
Junegunn Choi
8b80136a87
Merge pull request #37 from wellle/zsh-history
...
Feed all zsh history into fzf
2014-04-03 23:14:28 +09:00
Christian Wellenbrock
97de919152
Feed all zsh history into fzf
2014-04-03 16:11:51 +02:00
Junegunn Choi
0eafa725b9
Fix test code indentation
2014-04-03 14:53:47 +09:00
Junegunn Choi
fa212efe5f
Fix ranking when multiple regions overlap
...
e.g.
Match region #1 : [-----------]
Match region #2 : [---]
Match region #3 : [------]
2014-04-03 14:51:01 +09:00
Junegunn Choi
a9056ce90c
Add gif showing tmux integration
2014-04-03 01:29:21 +09:00
Junegunn Choi
16682a3f92
Update fe example as the exit status from -0 has changed ( #36 )
2014-04-03 01:20:22 +09:00
Junegunn Choi
02c01c81a0
Improve -0 and -1 as suggested in #36
...
- Make -0 and -1 work without -q
- Change exit status to 0 when exiting with -0
2014-04-03 01:06:40 +09:00
Junegunn Choi
22d3929ae3
Implement --select-1 and --exit-0 ( #27 , #36 )
2014-04-02 21:41:57 +09:00
Junegunn Choi
ab9fbf1967
Allow --nth option to take multiple indexes (comma-separated)
2014-04-02 01:49:07 +09:00
Junegunn Choi
608ec2b806
set -o nonomatch for zsh ( #34 )
...
Avoid error message in an empty directory
2014-04-01 21:39:40 +09:00
Junegunn Choi
e5ae4f0ef6
Do not load interactive parts when not required ( #34 )
2014-04-01 20:55:26 +09:00
Junegunn Choi
67ba87d390
Avoid CTRL-T error when default shell != zsh ( #34 )
2014-04-01 20:49:54 +09:00
Junegunn Choi
77d45cb173
Avoid starting interactive bash ( #34 )
2014-04-01 20:48:15 +09:00
Junegunn Choi
d83febea46
Merge pull request #35 from junegunn/fix-tmux-on-linux
...
Fix #34 : tmux integration on Linux
2014-04-01 17:58:19 +09:00
Junegunn Choi
546a315884
Fix #34 : tmux integration on Linux
2014-04-01 08:55:16 +00:00
Junegunn Choi
af616457e3
Use -p option of split-window instead of manual calculation
2014-03-31 13:48:53 +09:00
Junegunn Choi
1a100a2919
No need for screenrow()
2014-03-31 13:36:58 +09:00
Junegunn Choi
a85bb93b69
Fix use of screenrow when tmux height is given in %
2014-03-31 13:22:52 +09:00
Junegunn Choi
057eda060c
Installation on other shells
2014-03-31 10:15:56 +09:00
Junegunn Choi
48f9ee6763
Update install script
2014-03-31 01:01:23 +09:00
Junegunn Choi
52b74abb99
Merge pull request #32 from junegunn/nth
...
Add --nth and --delimiter option
2014-03-30 15:19:05 +09:00
Junegunn Choi
ec4b8a59fa
Implement --nth and --delimiter option
2014-03-30 15:12:04 +09:00
Junegunn Choi
cf8dbf8047
Allow setting tmux split height in %
2014-03-28 17:15:45 +09:00
Junegunn Choi
995d380200
Merge pull request #30 from junegunn/keybinding-tmux-split
...
Make CTRL-T use tmux split when possible
2014-03-28 15:32:23 +09:00
Junegunn Choi
ae86cdf09a
Make CTRL-T use tmux split when possible
2014-03-28 15:28:10 +09:00
Junegunn Choi
2b346659a0
Vim plugin: tmux integration
2014-03-28 00:58:07 +09:00
Junegunn Choi
49081711a9
Execute clear before fzf
2014-03-26 01:34:59 +09:00
Junegunn Choi
e7439ce193
Major update to Vim plugin
2014-03-25 19:55:52 +09:00
Junegunn Choi
b8e438b6be
Prefer pre-existing function/alias in Vim plugin
2014-03-25 12:05:57 +09:00
Junegunn Choi
678e950b6d
Use --reverse option in fco example ( #29 )
2014-03-20 10:38:53 +09:00
Junegunn Choi
9ea651f1cd
Merge pull request #29 from wellle/fix/fco
...
Fix small typo in Readme
2014-03-20 10:33:47 +09:00
Christian Wellenbrock
bd98a08b89
Fix small typo in Readme
2014-03-20 00:07:47 +01:00
Junegunn Choi
f02bb4fdac
Add fe
command to examples section as suggested in #27
2014-03-20 01:57:57 +09:00
Junegunn Choi
0a8352a5cd
Quote $1 in vimf example ( #26 )
2014-03-19 21:57:03 +09:00
Junegunn Choi
737423995d
Merge pull request #28 from wellle/ignore-dsstore
...
Add .DS_Store to .gitignore
2014-03-19 21:19:28 +09:00
Christian Wellenbrock
2916bf7ee4
Add .DS_Store to .gitignore
2014-03-19 13:14:20 +01:00
Junegunn Choi
fa54c5d9b0
Merge pull request #26 from wellle/vimf-query
...
Add --query parameter to fzf invocation in vimf function
2014-03-19 21:09:52 +09:00
Christian Wellenbrock
693b6651b4
Add --query parameter to fzf invocation in vimf function
2014-03-19 12:30:42 +01:00
Junegunn Choi
5c71ecb267
Implement C-Y (yank)
2014-03-15 16:55:20 +09:00
Junegunn Choi
1ba50eba98
Fix gemspec
...
Reference:
16ead977fa
2014-03-14 18:25:55 +09:00