Junegunn Choi
95970164ad
0.11.2
2016-01-14 02:54:08 +09:00
Junegunn Choi
f6c6e59a50
Add toggle-in and toggle-out for --bind
...
Related: #452
When `--multi` is set, tab key will bring your cursor down, and
shift-tab up. But since fzf by default draws the screen in bottom-up
fashion, one may feel that the opposite of the behavior is more
desirable and choose to customize the key bindings as follows.
export FZF_DEFAULT_OPTS="--bind tab:toggle-up,shift-tab:toggle-down"
This configuration, however, becomes no longer straightforward when
`--reverse` is set and fzf switches to top-down layout. To address the
requirement, this commit adds `toggle-in` and `toggle-out` option which
switch direction depending on `--reverse`-ness.
export FZF_DEFAULT_OPTS="--bind tab:toggle-out,shift-tab:toggle-in"
2016-01-14 02:35:43 +09:00
Junegunn Choi
45143f9541
Ignore leading whitespaces when calculating 'begin' index
2016-01-14 01:32:03 +09:00
Junegunn Choi
23244bb410
[fish] Fix intermittent errors on CTRL-T
...
This seems like a bug of fish, but sometimes when you select an item
fish complains:
"insertion mode switches can not be used when not in insertion mode"
This only happens when using tmux pane. Injecting a dummy command
somehow fixes the issue.
2016-01-14 01:12:49 +09:00
Junegunn Choi
edb647667e
Change temporary file names to fix flaky tests
2016-01-14 01:12:49 +09:00
Junegunn Choi
8d3a302a17
Simplify Item structure
...
This commit compensates for the performance overhead from the
extended tiebreak option.
2016-01-14 01:12:49 +09:00
Junegunn Choi
1d2d32c847
Accept comma-separated list of sort criteria
2016-01-13 21:27:43 +09:00
Junegunn Choi
d635b3fd3c
Update license: 2016
2016-01-13 02:16:26 +09:00
Junegunn Choi
0f281ef894
[vim] Try to make 'dir' option compatible with &autochdir
...
When 'dir' option is passed to fzf#run(), the current working directory
is temporarily changed to the given directory, and restored at the end.
However, this behavior is not compatible with &autochdir. This commit
introduces a heuristic to determine whether or not to restore the
previous working directory.
Related: https://github.com/junegunn/fzf.vim/issues/70
2016-01-12 01:15:36 +09:00
Junegunn Choi
b18db4733c
[vim] Do not restore working directory on unexpected cwd
...
We should not restore the previous working directory if the current
directory has changed somehow. This can happen when &autochdir is set.
2016-01-11 18:17:13 +09:00
Junegunn Choi
6e08fe337c
[nvim] setlocal nospell on terminal buffer
...
Close #469 . `setlocal nospell` should appear before `setf fzf` to allow
customization of the option.
2016-01-09 12:08:25 +09:00
Junegunn Choi
2a2c0a0957
[fzf-tmux] Turn off remain-on-exit option
...
Related: https://github.com/junegunn/fzf.vim/issues/67
2016-01-07 01:42:03 +09:00
Junegunn Choi
4230b6f3c9
[fzf-tmux] Fix #466 - Make fifos writable by other users
2016-01-07 00:32:38 +09:00
Junegunn Choi
aa171b45cb
Fix ubuntu-android target of Makefile
2016-01-05 02:10:40 +09:00
Junegunn Choi
661d06c90a
Add regression test case for #458
2015-12-29 13:02:16 +09:00
Junegunn Choi
a9aa263d3a
Merge pull request #458 from frizinak/fix-autocomplete-abs
...
Fix auto-completion for `/`
2015-12-29 08:22:52 +09:00
Kobe Lipkens
6208fc9cfd
Fix autocompletion for absolute paths
2015-12-28 21:11:04 +01:00
Junegunn Choi
e1dd798482
[bash/zsh-completion] List hidden files as well
...
Close #456 and #457
2015-12-29 00:21:38 +09:00
Junegunn Choi
c8a3f6f06a
Merge pull request #455 from frizinak/master
...
Pass FZF_DEFAULT_OPTS to non-interactive bash instance
2015-12-28 00:09:22 +09:00
Kobe Lipkens
3b9984379c
Pass FZF_DEFAULT_OPTS to non-interactive bash instance
2015-12-25 21:05:25 +01:00
Junegunn Choi
a1b60b1d42
Fix Travis CI build
...
The size of pseudo-terminal in Travis CI environment can be small
2015-12-20 01:47:07 +09:00
Junegunn Choi
b5850ebd4c
[vim] Open selected file in the current window if it's empty
...
Close #451
2015-12-18 12:19:29 +09:00
Junegunn Choi
ac0a62e494
Merge pull request #446 from chaoren/master
...
Fix CTRL-T in tmux
2015-12-13 01:11:02 +09:00
Chaoren Lin
54b4b0c56f
Dynamically select which __fzf_select__ to use for tmux with bash 4+.
...
Instead of choosing one at initialization, choose the correct one
when it's actually called, so that the behavior is correct even after
resizing.
Bonus fixes for tmux with bash 4+:
- No extra space when cancelling CTRL-T.
- Fix cursor position problem in vi mode.
2015-12-11 10:02:35 -08:00
Chaoren Lin
033afde3b5
Fix CTRL-T in tmux with non-standard configuration.
...
- Don't assume ~/.fzf.bash exists.
- Source the current script for __fzf_select__.
- Forward $PATH.
2015-12-11 00:18:45 -08:00
Junegunn Choi
a07944a5bb
Merge pull request #439 from pokey/master
...
Correct fzf-tmux tmux checking bug
2015-12-09 12:43:42 +09:00
Pokey Rule
32010055e1
Correct fzf-tmux tmux checking bug
2015-12-08 17:33:44 -08:00
Junegunn Choi
971ea2217c
Merge pull request #433 from pokey/master
...
Support fzf-tmux when zoomed
2015-12-08 10:56:06 +09:00
Pokey Rule
d513a210c6
Support fzf-tmux when zoomed
2015-12-07 17:45:22 -08: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
Alex Cornejo
28ffb9638d
add android build
2015-11-18 23:20:51 -08: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
Daniel Hahler
701687faab
zsh: fzf-completion: use noshwordsplit local option
...
This also fixes the completion causing a bell / flickering in case
"shwordsplit" was not set, because then the function would return false.
2015-11-18 16:09:00 +01: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
Daniel Hahler
95c69083c7
zsh completion: use \grep to skip any alias
2015-11-17 18:51:29 +01: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