Junegunn Choi
54a4ab0f26
Add Chocolatey instruction
...
Thanks to @majkinetor. Close #869 .
8 years ago
Junegunn Choi
e03e91477b
0.16.6
8 years ago
Junegunn Choi
88ac397158
Add test case for --no-clear
8 years ago
Junegunn Choi
6fd4be580b
Use alternate screen only when the value of height is 100%
...
Do not automatically decide to use alternate screen when the value of
height exceeds the height of the terminal.
# Use alternate screen
fzf
fzf --height 100%
fzf --no-height
# Still use current screen
fzf --height 10000
8 years ago
Junegunn Choi
53348feb89
Add --no-clear option
8 years ago
Junegunn Choi
337cdbb37c
[zsh] Use setopt noposixbuiltins instead of emulate -L zsh
...
Close #858
3a6af27586 (commitcomment-21135641)
8 years ago
Junegunn Choi
05fdf91fc5
Revert "[zsh] emulate -L zsh to avoid issues with incompatible options"
...
This reverts commit 3a6af27586
.
8 years ago
Junegunn Choi
c387689d1c
[shell] Enable sorting by default in CTRL-R
...
CTRL-R binding used to start with --no-sort to list the matched commands
in chronological order. However, it has been a constant source of
confusion. Let's enable it by default from now on. The sorted result
shouldn't be too confusing as we use --tiebreak=index.
8 years ago
Junegunn Choi
cb9238dc4e
Display -S if sort is disabled and toggle-sort is used
...
This is to address a common confusion that one does not realize that
sorting is intentionally turned off by default and can be enabled by
a bind key.
8 years ago
Junegunn Choi
a484811f78
[vim] Capitalize exception messages
8 years ago
Junegunn Choi
111d1934c4
[vim] Throw error if g:fzf_layout is incorrectly used
...
https://github.com/junegunn/fzf.vim/issues/327
https://github.com/junegunn/fzf.vim/issues/317
8 years ago
Junegunn Choi
972fb1a29d
Suppress ANSI colors in preview window if --no-color is set
8 years ago
Junegunn Choi
3a6af27586
[zsh] emulate -L zsh to avoid issues with incompatible options
...
Close #858
8 years ago
Junegunn Choi
c89ac341e4
Clear background even if background color is not set
...
This is needed when fzf is started from inside a program (e.g. Vim)
and it uses a different background color than the terminal.
- https://github.com/junegunn/fzf.vim/issues/325
- https://github.com/junegunn/fzf.vim/issues/300
8 years ago
Junegunn Choi
cd59e5d07b
[neovim] Set 'dir' to the current direcotry
...
Close https://github.com/junegunn/fzf.vim/issues/308
8 years ago
Junegunn Choi
0b940e4b2b
Redraw item if query string has changed
8 years ago
Junegunn Choi
b29375c844
[vim] Minor refactoring
8 years ago
Junegunn Choi
76d3f6d248
[vim] Escape ! when using :! to execute command
...
- call fzf#run({'source': "echo '!'"})
- call fzf#run({'source': "echo '!'", 'down': '40%'})
Close https://github.com/junegunn/fzf.vim/issues/315
8 years ago
Junegunn Choi
e87a85a179
0.16.5
8 years ago
Junegunn Choi
11407bf656
Exclude sysfs in find commands
8 years ago
Junegunn Choi
c82fb3c9b9
Add toggle-preview-wrap action
8 years ago
Junegunn Choi
309e1d8619
Properly truncate long query string
8 years ago
Junegunn Choi
c2db67c1c0
[vim] Prepend @echo off to $FZF_DEFAULT_COMMAND on Windows ( #847 )
8 years ago
Junegunn Choi
9526594905
[vim] Fix FZF_DEFAULT_COMMAND on Windows
...
Close #847 . Patch submitted by @wontoncc.
8 years ago
Junegunn Choi
3d74d277aa
Use cut instead of sed in the default command
8 years ago
Junegunn Choi
fc274c2ba4
[vim] Do not escape % when using system() instead of !
...
Close https://github.com/junegunn/fzf.vim/issues/309
8 years ago
Pierre Neidhardt
ce43ea9f42
[shell] Replace `sed` with `-mindepth 1` and `cut` ( #844 )
8 years ago
Junegunn Choi
21da02fac2
Fix indentation
8 years ago
Junegunn Choi
19569bd5c5
Move cursor to the top-left when returning to alternate screen
...
Fix broken preview border. Reported by Thomas Sattler.
fzf --bind 'enter:execute(date)' --preview=date --reverse
8 years ago
Daniel Gray
afa25d8c57
[zsh] Do not cd when cancelling alt+c keybind ( #840 )
8 years ago
Junegunn Choi
1ba7acf4bd
[fzf-tmux] Fix race condition when using -l/-u on zoomed panes
...
Using a dummy command that works as the barrier.
8 years ago
Prabir Shrestha
a847fe8754
Use "type" instead of "cat" on windows ( #836 )
8 years ago
Junegunn Choi
5bb18b6441
Remove Dockerfiles and clean up Makefile
...
Due to the recent removal of ncurses dependency, we can cross-compile
binaries for different platforms without virtual machines.
8 years ago
Junegunn Choi
876c233a26
Remove Ruby version
...
Related #832
8 years ago
Junegunn Choi
ee5aeb80a4
0.16.4
8 years ago
Junegunn Choi
02ceae15a2
[vim] Download instruction for Windows
8 years ago
Junegunn Choi
e514739280
Fix failing test case
8 years ago
Junegunn Choi
72265298f9
[vim] Apply --no-height when running fzf in full screen mode
...
To override --height option in FZF_DEFAULT_OPTS
8 years ago
Junegunn Choi
4b700192c1
Add --border option to draw horizontal lines above and below the finder
...
Goes well with --height
8 years ago
Junegunn Choi
fe83589ade
Add test case for --tiebreak=begin
8 years ago
Junegunn Choi
fcf63c74f1
Fix --tiebreak=begin with algo v2
...
Due to performance consideration, FuzzyMatchV2 does not return the exact
positions of the matching characters by default. However, the ommission
caused `--tiebreak=begin` to produce inaccurate result in some cases.
(echo baz foo bar; echo foo bar baz) | fzf --tiebreak=begin -fbar | head -1
# Expected: foo bar baz
# Actual: baz foo bar
This commit fixes the problem by using the end offset which is
guaranteed to be correct.
8 years ago
Junegunn Choi
c95bb109c8
Suppress CSI codes in the output
8 years ago
Junegunn Choi
bd9c46ee34
Update ANSI processor to strip ^H along with its preceding character
8 years ago
Junegunn Choi
736aeaa1d3
Update go-runewidth
...
https://github.com/junegunn/go-runewidth/pull/1
/cc @joshuarubin
8 years ago
Junegunn Choi
dd1f26522c
Fix caching scheme when --exact is set and '-prefix is used
8 years ago
Kassio Borges
712b7b2188
[vim] Expose buffer variable with the current fzf setup ( #828 )
...
Exposing the `b:fzf` variable will be useful to get information about
which command is being executed on the current fzf window. With that,
now, it's possible to use the current command name on the statusline:
```viml
au User FzfStatusLine call <SID>fzf_statusline()
function! s:fzf_statusline()
let fzf_cmd_name = get(b:fzf, 'name', 'FZF')
let &l:statusline = '> '.fzf_cmd_name
endfunction
```
8 years ago
Junegunn Choi
5b749e2d5c
Update documentation
8 years ago
Junegunn Choi
d85a69a709
0.16.3
8 years ago
Junegunn Choi
a425e96fb2
[vim] g:fzf_prefer_tmux for choosing fzf-tmux over --height
...
https://github.com/junegunn/fzf.vim/issues/296
8 years ago
Junegunn Choi
7763fdf6ba
Update man pages
8 years ago