Junegunn Choi
a07944a5bb
Merge pull request #439 from pokey/master
...
Correct fzf-tmux tmux checking bug
2015-12-09 12:43:42 +09:00
Junegunn Choi
971ea2217c
Merge pull request #433 from pokey/master
...
Support fzf-tmux when zoomed
2015-12-08 10:56:06 +09:00
Junegunn Choi
a1db64e7b1
Unset GO15VENDOREXPERIMENT in linux build env ( #430 )
2015-12-04 16:47:02 +09:00
Junegunn Choi
0b9c4e1e74
Remove submodules and disable GO15VENDOREXPERIMENT ( #430 )
...
Having submodules causes vim-plug or other vim plugin managers to clone
them with no real benefit to the end-users. There's currently no
compelling reason for me to use submodules.
2015-12-04 16:45:23 +09:00
Junegunn Choi
248320fa55
0.11.1
2015-12-01 00:39:45 +09:00
Junegunn Choi
d4e26707c7
GO15VENDOREXPERIMENT=1 ( #430 )
2015-11-30 18:41:53 +09:00
Junegunn Choi
99ea1056ac
Add --tabstop option
...
Related: https://github.com/junegunn/fzf.vim/issues/49
2015-11-30 17:35:03 +09:00
Junegunn Choi
7bcf4effa5
Fix test failure - use absolute path
2015-11-30 17:32:40 +09:00
Junegunn Choi
e1df876b61
Merge pull request #380 from acornejo/android
...
Add android build: `make android`
2015-11-20 03:28:41 +09:00
Junegunn Choi
1c20255504
Fix typos in help message
...
Close #425 . Thanks to @blueyed.
2015-11-19 09:58:07 +09:00
Junegunn Choi
1fd884b34f
Merge pull request #423 from blueyed/zsh-fzf-completion-localoptions
...
zsh: fzf-completion: use noshwordsplit local option
2015-11-19 00:54:42 +09:00
Junegunn Choi
bbc3055feb
Merge pull request #421 from blueyed/zsh-completion-grep-command
...
zsh completion: use \grep to skip any alias
2015-11-18 03:32:39 +09:00
Junegunn Choi
57a37b5832
[bash-completion] Fix #417 - Update command list
2015-11-12 13:53:36 +09:00
Junegunn Choi
d29ae1c462
[install] Add --32 / --64 options
...
Related: #373
2015-11-12 13:42:56 +09:00
Junegunn Choi
df468fc482
0.11.0
2015-11-10 01:54:53 +09:00
Junegunn Choi
31278bcc68
Fix compatibility issues with OR operator and inverse terms
2015-11-10 01:54:37 +09:00
Junegunn Choi
e7e86b68f4
Add OR operator
...
Close #412
2015-11-09 23:58:53 +09:00
Junegunn Choi
a89d8995c3
Add execute-multi action
...
Close #413
2015-11-09 23:58:19 +09:00
Junegunn Choi
dbc854d5f4
Handle wide unicode characters in --prompt
2015-11-09 22:01:40 +09:00
Junegunn Choi
f1cd0e2daf
[zsh] Fix #404 - Escape $ in $LBUFFER
2015-11-09 12:06:10 +09:00
Junegunn Choi
90d32bd756
[install] Fix #414 - Respect $ZDOTDIR
2015-11-09 01:48:55 +09:00
Junegunn Choi
e99731ea85
[shell] Add FZF_ALT_C_COMMAND for ALT-C ( #408 )
2015-11-08 00:12:12 +09:00
Junegunn Choi
15659ac6e6
Merge pull request #409 from freitass/master
...
[bash-completion] Add nvim to f_cmds
2015-11-07 00:23:30 +09:00
Junegunn Choi
c84e681581
Merge pull request #403 from JackDanger/not-relying-on-exit-status-for-ctrl-r
...
Not relying on exit status for CTRL-R
Patch submitted by @robinro and @JackDanger
Close #403 #242 #241 #203
2015-11-06 08:38:36 +09:00
Junegunn Choi
2c4f71d85b
[zsh] fzf-history-widget - update local declaration
2015-11-04 21:57:18 +09:00
Junegunn Choi
c6328affae
Update extended-search mode section of README
2015-11-04 03:16:36 +09:00
Junegunn Choi
aaef18295d
Update FZF_DEFAULT_COMMAND example
2015-11-04 03:14:38 +09:00
Junegunn Choi
14f0d2035e
Update Homebrew instructions
2015-11-04 03:13:22 +09:00
Junegunn Choi
64afff6b9a
0.10.9
2015-11-03 23:03:49 +09:00
Junegunn Choi
6bddffbca4
Setup signal handlers before ncurses initialization
...
This prevents fzf from missing SIGWINCH during startup which
occasionally happens with fzf-tmux
2015-11-03 23:00:34 +09:00
Junegunn Choi
81a88693c1
Make --extended default
...
Close #400
2015-11-03 22:49:32 +09:00
Junegunn Choi
68541e66b7
[man] double-click for --bind ( #374 )
2015-11-03 22:40:45 +09:00
Junegunn Choi
672b593634
Update FZF_DEFAULT_COMMAND example ( #310 )
2015-11-03 22:25:50 +09:00
Junegunn Choi
5769d3867d
[nvim] setf fzf
2015-10-31 00:18:23 +09:00
Junegunn Choi
724ffa3756
[install] Do not download binary if it's found in $PATH ( #373 )
...
/cc @xconstruct
2015-10-26 12:31:43 +09:00
Junegunn Choi
5694b5ed30
Fix #394 - --bin option is broken
2015-10-23 17:43:34 +09:00
Junegunn Choi
a1184ceb4e
Fix travis CI build
2015-10-23 15:07:16 +09:00
Junegunn Choi
02203c7739
Add command-line flags to install script
...
Close #392
usage: ./install [OPTIONS]
--help Show this message
--bin Download fzf binary only
--all Download fzf binary and update configuration files
to enable key bindings and fuzzy completion
--[no-]key-bindings Enable/disable key bindings (CTRL-T, CTRL-R, ALT-C)
--[no-]completion Enable/disable fuzzy completion (bash & zsh)
--[no-]update-rc Whether or not to update shell configuration files
2015-10-23 15:04:32 +09:00
Junegunn Choi
4d709e0dd2
Fix #391 - Strip non-printable characters
2015-10-23 01:12:31 +09:00
Junegunn Choi
ae04f56dbd
Fix --bind "double-click:execute(...)" ( #374 )
2015-10-13 02:36:11 +09:00
Junegunn Choi
f80ff8c917
Add bindable double-click event ( #374 )
2015-10-13 02:24:38 +09:00
Junegunn Choi
b4ce89bbf5
[build] Link libncursesw when building 64-bit linux binary
...
Close #376
2015-10-12 16:02:08 +09:00
Junegunn Choi
486b87d821
[bash-completion] Retain original completion options ( #288 )
2015-10-12 00:27:30 +09:00
Junegunn Choi
b3010a4624
0.10.8
2015-10-09 12:42:07 +09:00
Junegunn Choi
7d53051ec8
Merge pull request #371 from wilywampa/edit_directory
...
Trigger netrw autocommand when opening directory
2015-10-09 12:36:08 +09:00
Junegunn Choi
a4eb3323da
Fix #370 - Panic when trying to set colors when colors are disabled
2015-10-09 12:16:47 +09:00
Junegunn Choi
1da065e50e
0.10.7
2015-10-05 23:28:24 +09:00
Junegunn Choi
86bc9d506f
Fix invalid interrupt handler during execute action
...
Interrupt handling during execute action was not serialized and often
caused crash, failed to restore the terminal state.
2015-10-05 23:19:26 +09:00
Junegunn Choi
eee45a9578
[completion] Revamp completion API
...
* _fzf_complete is the helper function for custom completion
* _fzf_complete FZF_OPTS ARGS
* Reads the output of the source command instead of the command string
* In zsh, you can use pipe to feed the data into the function, but
it's not possible in bash as by doing so COMPREPLY is set from the
subshell and thus nullified
* Change the naming convention for consistency:
* _fzf_complete_COMMAND
e.g.
# pass completion suggested by @d4ndo (#362 )
_fzf_complete_pass() {
_fzf_complete '+m' "$@" < <(
local pwdir=${PASSWORD_STORE_DIR-~/.password-store/}
local stringsize="${#pwdir}"
find "$pwdir" -name "*.gpg" -print |
cut -c "$((stringsize + 1))"- |
sed -e 's/\(.*\)\.gpg/\1/'
)
}
# Only in bash
complete -F _fzf_complete_pass -o default -o bashdefault pass
2015-10-05 19:34:38 +09:00
Junegunn Choi
659f49a09a
[fzf-tmux] Create temp files in $TMPDIR if defined
2015-10-05 13:01:09 +09:00
Junegunn Choi
8fa9e85980
[zsh-completion] Allow custom completion function
...
While in bash you can externally register custom completion functions
using `complete` command, it was not possible to do so in zsh without
changing completion.zsh as the name of the supported commands are
hard-coded within the code (See #362 ). With this commit, fzf-completion
of zsh will first look if `_fzf_COMMAND_completion` exists and calls the
function, so one can externally define completion functions for specific
commands.
This commit also tries to make the interface of (yet undocumented)
_fzf_list_completion helper function consistent across bash and zsh.
So the following code works both on bash and zsh.
_fzf_pass_completion() {
local pwdir=${PASSWORD_STORE_DIR-~/.password-store/}
local stringsize="${#pwdir}"
let "stringsize+=1"
_fzf_list_completion '+m' "$@" << "EOF"
find "$pwdir" -name "*.gpg" -print | cut -c "$stringsize"- | sed -e 's/\(.*\)\.gpg/\1/'
EOF
}
# Only on bash
complete -F _fzf_pass_completion -o default -o bashdefault pass
Note that the suggested convention and the interface are not yet final
and subject to change.
/cc @d4ndo
2015-10-05 01:48:45 +09:00
Junegunn Choi
92a75c9563
Use trimmed length when --nth is used with --tiebreak=length
...
This change improves sort ordering for aligned tabular input.
Given the following input:
apple juice 100
apple pie 200
fzf --nth=2 will now prefer the one with pie. Before this change fzf
compared "juice " and "pie ", both of which have the same length.
2015-10-02 18:40:20 +09:00
Junegunn Choi
7c7a30c472
Merge pull request #364 from halostatue/use-zsh-regex-module
...
Remove dependency on zsh/pcre module
2015-10-02 11:02:19 +09:00
Junegunn Choi
6a38d07a4c
Merge pull request #361 from justinmk/swapexists
...
[vim] handle SwapExists
2015-09-30 16:16:18 +09:00
Junegunn Choi
862da2c0b1
[vim] Consistent exit status handling
2015-09-27 16:26:40 +09:00
Junegunn Choi
545370d2b3
Merge branch 'jebaum-master'
2015-09-27 15:59:04 +09:00
Junegunn Choi
86306dd45a
[vim] Display proper error message when GVim launcher failed
...
Related: https://github.com/junegunn/fzf.vim/issues/16
2015-09-26 21:04:44 +09:00
Junegunn Choi
98d2bfa0db
[install] Terminate install script when failed to update shell config
...
Close #354
2015-09-24 10:51:05 +09:00
Junegunn Choi
aec48f159b
[neovim] Remove redraw! hack that is no longer needed
2015-09-22 16:36:48 +09:00
Junegunn Choi
ad7e433a7d
Use build tags to enable static linking
2015-09-22 13:16:50 +09:00
Junegunn Choi
5a60aa5050
[vim] Display proper error message when command failed
2015-09-20 14:10:43 +09:00
Junegunn Choi
ebea470875
Build linux binary on Centos
2015-09-20 00:17:44 +09:00
Junegunn Choi
d980e00961
Revert "Revert "0.10.6""
...
This reverts commit 987799f8fb .
2015-09-19 22:51:12 +09:00
Junegunn Choi
987799f8fb
Revert "0.10.6"
...
This reverts commit d2f3604c1d .
2015-09-19 22:27:09 +09:00
Junegunn Choi
d2f3604c1d
0.10.6
2015-09-19 22:18:04 +09:00
Junegunn Choi
72cc558fdc
Fix travis CI build
2015-09-19 18:39:09 +09:00
Junegunn Choi
6bc3fe6e67
Build partially-static binary for linux ( #350 )
...
Instead of building a separate statically-linked binary, build
partially-static binary that only contains ncurses to avoid
compatibility issues in libc.
2015-09-19 18:33:25 +09:00
Junegunn Choi
9398878048
[fzf-tmux] Exit with the same exit status as with fzf
2015-09-18 10:28:09 +09:00
Junegunn Choi
ca19762e58
Exit status 130 when fzf is terminated by the user
...
Related: #345
2015-09-18 10:25:07 +09:00
Junegunn Choi
8764be07e2
[vim] Ignore exit status of 2 ( #345 )
2015-09-18 09:59:40 +09:00
Junegunn Choi
2022a3ad96
Replace --header-file with --header ( #346 )
...
and allow using --header and --header-lines at the same time.
Close #346 .
2015-09-15 19:04:53 +09:00
Junegunn Choi
65d9d416b4
Change exit status (0: OK, 1: No match, 2: Error/Interrupted)
...
A la grep. Close #345
2015-09-15 13:21:51 +09:00
Junegunn Choi
fa2f9f1f21
Remove flattr badge
2015-09-14 15:49:19 +09:00
Junegunn Choi
c656cfbdce
Update doc
2015-09-12 13:31:07 +09:00
Junegunn Choi
de829c0938
0.10.5
2015-09-12 12:50:32 +09:00
Junegunn Choi
64443221aa
Fix #344 - Backward scan when --tiebreak=end
2015-09-12 11:37:55 +09:00
Junegunn Choi
9017e29741
Make it possible to unquote the term in extended-exact mode
...
Close #338
2015-09-12 11:00:30 +09:00
Junegunn Choi
0a22142d88
[fzf-tmux] Fix #343 - Escape backticks in --query
2015-09-07 18:40:39 +09:00
Junegunn Choi
ac160f98a8
[gvim] Fix #342 - Should not escape launcher part of the command
2015-09-05 21:39:12 +09:00
Junegunn Choi
62e01a2a62
[vim] Escape newline character when running fzf with :!
...
Fixes Helptags! command from fzf.vim
2015-09-01 01:13:35 +09:00
Junegunn Choi
5660cebaf6
[zsh-completion] Temporarily unset shwordsplit ( #328 )
2015-09-01 00:51:28 +09:00
Junegunn Choi
a7e588ceac
Merge pull request #336 from fazibear/fix-fish-streams
...
Fix CTRL-T on fish to work asynchronously
2015-08-30 21:21:13 +09:00
Junegunn Choi
9a2d9ad947
0.10.4
2015-08-29 02:36:27 +09:00
Junegunn Choi
90b0cd44ac
Should not strip ANSI codes when --ansi is not set
2015-08-28 21:23:10 +09:00
Junegunn Choi
698e8008df
[vim] Dynamic height specification for 'up' and 'down' options
...
Values for 'up' and 'down' can be written with ~ prefix. Only applies
when the source is a Vim list.
e.g. { 'source': range(10), 'down': '~40%' }
2015-08-28 18:38:47 +09:00
Junegunn Choi
1de4cc3ba8
[install] Fall back statically-linked binary on 64-bit linux
...
Close #322
2015-08-27 22:50:59 +09:00
Junegunn Choi
0d66ad23c6
Fix build script
2015-08-27 22:48:42 +09:00
Junegunn Choi
7f7741099b
make linux-static ( #322 )
2015-08-27 03:28:05 +09:00
Junegunn Choi
5a72dc6922
Fix #329 - Trim ANSI codes from output when --ansi & --with-nth are set
2015-08-26 23:58:18 +09:00
Junegunn Choi
80ed02e72e
Add failing test case for #329
2015-08-26 23:35:31 +09:00
Junegunn Choi
8fb31e1b4d
[vim] Escape % and # when running source command with :!
2015-08-24 01:52:16 +09:00
Junegunn Choi
148f21415a
Mention fzf.vim project
2015-08-22 19:33:04 +09:00
Junegunn Choi
1c31e07d34
[install] Improve error message
2015-08-19 19:42:06 +09:00
Junegunn Choi
55d566b72f
Revert "[vim] Open silently"
...
This reverts commit c601fc6437 .
2015-08-18 12:03:08 +09:00
Junegunn Choi
60336c7423
Remove Vim examples from README.md
2015-08-16 02:47:52 +09:00
Junegunn Choi
7ae877bd3a
[vim] Handle single/double quote characters in 'dir' option
2015-08-16 00:04:45 +09:00
Junegunn Choi
c601fc6437
[vim] Open silently
2015-08-15 23:53:27 +09:00
Junegunn Choi
e5fec408c4
[vim] tab split instead of tabedit
2015-08-15 23:53:11 +09:00
Junegunn Choi
8156e9894e
0.10.3
2015-08-12 02:09:46 +09:00
Junegunn Choi
cacc212f12
[install] Prerelease of 0.10.3
2015-08-11 00:21:09 +09:00