Junegunn Choi
6ae085f974
Add link to Windows wiki page
...
Related: #1072
/cc @janlazo
7 years ago
Junegunn Choi
cb8e97274e
Update README to add an example of _fzf_compgen_dir
...
/cc @chrisjohnson
Close #1067
Close #1083
7 years ago
Jan Edmund Lazo
c4185e81e8
Fix ExecCommandWith for cmd.exe in Windows ( #1072 )
...
Close #1018
Run the command as is in cmd.exe with no parsing and escaping.
Explicity set cmd.SysProcAttr so execCommand does not escape the command.
Technically, the command should be escaped with ^ for special characters,
including ". This allows cmd.exe commands to be chained together.
See https://github.com/neovim/neovim/pull/7343#issuecomment-333350201
This commit also updates quoteEntry to use strings.Replace instead of
strconv.Quote which escapes more than \ and ".
7 years ago
Ionel Cristian Mărieș
0580fe9046
Don't do shell quoting for weird chars ( #1079 )
...
* Don't do shell quoting for weird chars
This would prevent tabs from being escaped as `$'\t'` (definitely not what I would want to see as initial value in the search).
* Do different escape.
7 years ago
Junegunn Choi
1b1bc9ea36
[install] Download arm8 binaries on Linux aarch64
...
Close #1060
7 years ago
Junegunn Choi
c2614467cf
[neovim] Fix Neovim plugin to use terminal instead of --height
...
Close #1066
Close #1068
7 years ago
Junegunn Choi
077ae51f05
[vim] Use Vim 8 terminal when appropriate
...
Close #1055
7 years ago
Junegunn Choi
ee40212e97
Update FZF_DEFAULT_COMMAND
...
- Use bash for `set -o pipefail`
- Fall back to simpler find command when the original command failed
Related: #1061
7 years ago
Ricardo González
7f5f6efbac
[fzf-tmux] Executes fzf from fzf-tmux with a process name ( #1056 )
7 years ago
Josh Pencheon
45d4c57d91
[completion] Include host aliases in ssh completion ( #1062 )
7 years ago
Robert Orzanna
41e0208335
Update Homebrew/Linuxbrew instructions ( #1052 )
7 years ago
Lawrence Wu
2f8238342b
[install] Don't touch dotfiles if not requested ( #1048 )
7 years ago
Junegunn Choi
e1582b8323
Clean up renderer code
...
Remove code that is no longer relevant after the removal of ncurses
renderer. This commit also fixes background color issue on tcell-based
FullscreenRenderer (Windows).
7 years ago
Junegunn Choi
7cfa6f0265
Fix custom foreground color inside preview window (addendum)
...
This fixes foreground color inside preview window when the text has ANSI
attributes except for foreground color.
Close #1046
7 years ago
Junegunn Choi
e3973c74e7
Fix custom foreground color inside preview window
...
Close #1046
7 years ago
Junegunn Choi
a8deca2dd9
[vim] Update README-VIM: fzf can run inside GVim
7 years ago
Junegunn Choi
a78ade1771
Update link to performance chart
7 years ago
Jan Edmund Lazo
79d2ef4616
[vim] Do not pathshorten prompt in cygwin ( #1043 )
...
Prevents the following case:
before pathshorten - /usr/bin
after pathshorten - /u/bin
piped to cmd.exe - U:/bin
7 years ago
Junegunn Choi
5edc3f755c
[vim] Update FZF command not set up lengthy prompt on narrow screen
...
Port of e7928d154a
Since :FZF does not enable preview window, we determine based on full
&columns instead of &columns / 2.
7 years ago
Junegunn Choi
288976310b
Update g:fzf_colors example
7 years ago
Junegunn Choi
58b5be8ab6
0.17.0-2
7 years ago
Jan Edmund Lazo
26d7896877
[vim] Bind Ctrl-J in Vim terminal to fix enter key
...
Temporary workaround for non-Windows environment
Reference:
https://github.com/vim/vim/issues/1998
https://github.com/junegunn/fzf/pull/1019#issuecomment-327008348
7 years ago
Jan Edmund Lazo
fd6bc7308f
[vim] Use s:execute_term in Windows
...
IMPORTANT:
cmd.exe and powershell are fine in default Windows terminal.
cmd.exe prompt is broken on ConEmu because it natively supports ucs-2 only.
utf-16 support is exclusive to .Net (ie. powershell).
utf-8 supports requires chcp, external program, but does not fix the cmd.exe prompt.
Use powershell on ConEmu to avoid corrupted text on display
7 years ago
Jan Edmund Lazo
6c41c95f28
[vim] s:execute_term works in GVim on Windows
...
Requirements:
- compiled with +terminal
- has patch-8.0.995
- has('gui_running') returns 1
7 years ago
Jan Edmund Lazo
446e04469d
[neovim] use batchfile for s:execute_term in Windows
7 years ago
Michael Smith
5097e563df
[neovim] Fix terminal buffer marker on Windows
...
Original Patch: a9bf29b65e
7 years ago
Jan Edmund Lazo
c7ad97c641
[neovim] use terminal in Windows for v0.2.1+
7 years ago
Junegunn Choi
9516fe3324
[install] Add --no-{bash,zsh,fish}
...
Close #1040
7 years ago
Junegunn Choi
20cdbac8c3
[install] Ignore user-defined grep aliases
7 years ago
Junegunn Choi
e3e7b3360c
Delete ncurses implementation
7 years ago
Junegunn Choi
655dfb8328
[fzf-tmux] Remove cat command
...
Close #1039
7 years ago
Mike Hearn
9b9c67b768
[fzf-tmux] Add pane_height/pane_width fallback ( #1037 )
7 years ago
Junegunn Choi
5b7457ff08
[install] Wait for a linefeed when asking for confirmation
...
Close #1035
7 years ago
Junegunn Choi
48adad5454
[neovim] Set &shell to sh (again) after opening a new window
...
Close #1031
7 years ago
Jack O'Connor
b27dc3eb17
[vim] Add parens around piped source commands ( #1029 )
...
Previously a command like `echo a && echo b` would get transformed into
`echo a && echo b | fzf`, which only pipes the output of the second
command. Adding parentheses around the source command avoids this issue,
and works on both Unix and Windows.
7 years ago
Junegunn Choi
e89eebb7ba
0.17.0
7 years ago
Junegunn Choi
fee404399a
Make --expect additive
...
Similarly to --bind or --color.
--expect used to replace the previously specified keys, and
fzf#wrap({'options': '--expect=f1'}) wouldn't work as expected. It
forced us to come up with some ugly hacks like the following:
13b27c45c8/autoload/fzf/vim.vim (L1086)
7 years ago
Junegunn Choi
6b4805ca1a
Optimize rank comparison on x86 (little-endian)
7 years ago
Junegunn Choi
159699b5d7
Remove an unnecessary code branch
7 years ago
Junegunn Choi
af809c9661
Minor refactorings
7 years ago
Junegunn Choi
329de8f416
[fzf-tmux] Execute trap with bash instead of the default shell
...
Close #1007
7 years ago
Junegunn Choi
e825b07e85
[neovim] Allow running FZF in multiple windows
...
Close #1023
7 years ago
Junegunn Choi
71fdb99a07
Remove bound checkings in inner loops
7 years ago
Junegunn Choi
55ee4186aa
Ignore EvtReadNew if EvtReadFin is already set
7 years ago
Junegunn Choi
941b0a0ff7
Minor optimization of FuzzyMatchV2
...
Calculate the first row of the score matrix during phase 2
7 years ago
Junegunn Choi
6aae12288e
Extract debug code from FuzzyMatchV2
7 years ago
Junegunn Choi
302cc552ef
Remove unused clear arguments of alloc16 and alloc32
7 years ago
Junegunn Choi
a2a4df0886
Pass util.Chars by pointer
7 years ago
Jan Edmund Lazo
3399e39968
[vim] Escape backslashes in fzf#shellescape ( #1021 )
7 years ago
Junegunn Choi
87874bba88
Remove redundant read event when --sync is used
7 years ago