Jan Edmund Lazo
3348aef05d
[fzf#vim#with_preview] Detect WSL bash on Windows only
...
Close https://github.com/junegunn/fzf.vim/issues/1052
2020-09-12 01:06:17 +09:00
Junegunn Choi
18205e071d
Version requirement
2020-09-04 21:48:15 +09:00
Junegunn Choi
4145f53f3d
Use native preview scroll of fzf 0.22.0
...
This allows you to scroll upwards
Fix #1053
Fix #751
Fix #749
2020-08-13 00:14:41 +09:00
Junegunn Choi
23dda8602f
Fix code comments: options -> spec
2020-08-13 00:14:41 +09:00
Junegunn Choi
9cc54fb3d3
[fzf#vim#grep] Ignore whitespaces around :
...
Fix #1071
2020-08-12 21:51:26 +09:00
Antoine
2115caeba1
Fix :Maps when :verbose map does not have a 2nd line with comments ( #1067 )
2020-07-30 12:50:19 +09:00
Junegunn Choi
7bc8eccf57
Dependencies
2020-07-27 20:47:38 +09:00
RichardNee
2bf85d25e2
Fix preview.sh not running when the file path contains "binary" ( #1055 )
2020-06-21 17:54:35 +09:00
Doron Behar
8f1e73b598
Expose some buffer related functions ( #1044 )
2020-06-07 10:16:16 +09:00
Junegunn Choi
16e3efbcb1
Disable preview window if bash is not found
...
Fix #1039
2020-06-07 10:13:35 +09:00
Maxim Kim
5aa5977d74
Handle absolute windows paths in Grep/Ag/Ripgrep sink process ( #1038 )
...
Fix #1037
Function `ag_to_qf` is used to parse line produced by Grep, Ag or
Ripgrep. Implementation in quesition split it using regexp that doesn't
work for windows absolut paths.
A better approach is to use `matchlist` function.
2020-06-01 12:16:18 +09:00
Jan Edmund Lazo
7a655179a4
[fzf#vim#with_preview] Support WSL bash ( #1026 )
...
* [fzf#vim#with_preview] support wsl bash
Close https://github.com/junegunn/fzf.vim/issues/988
Close https://github.com/junegunn/fzf.vim/pull/1009
* [fzf#vim#with_preview] use abs path for bin/
WSL has issues with relative filepaths.
2020-05-23 21:23:26 +09:00
Maxim Kim
996ec3b4b0
[Helptags] Fix perl script for Windows ( #1036 )
...
Temporary perl script that parses output of help grep doesn't take into
account backward slash as windows path separator.
Fixes #987
2020-05-23 20:33:04 +09:00
Jesse Leite
a74605b81d
Add undocumented fzf#vim#_recent_files function ( #1024 )
...
* Rename and make `s:all_files` public for user fzf extension
2020-05-13 00:33:34 +09:00
Junegunn Choi
3925db8307
Update vim help file
2020-05-06 00:54:32 +09:00
Alexandre Perrin
25bed070d8
Use -- before the search pattern for Ag, Rg, etc. ( #1012 )
...
Before this patch, a search pattern starting with a dash like
`:Rg -bang` would fail (or exhibit the wrong behaviour) because it would
be treated as a option. However, this case is very common when searching
for ->member in a project in C, C++, PHP, etc.
Co-authored-by: Alexandre Perrin <alex@atipik.ch >
2020-05-06 00:53:11 +09:00
Junegunn Choi
2c07630341
Better completion example
2020-05-03 17:36:28 +09:00
Junegunn Choi
5b6f282d97
Update documentation: fuzzy completion functions
2020-05-03 17:24:11 +09:00
Ian Homer
4cf475b753
[Maps] Display filename and line number ( #998 )
...
Fix #997
Co-authored-by: Ian Homer <ihomer@worth.systems >
2020-05-01 11:28:03 +09:00
Junegunn Choi
f86ef1bce6
[Buffers] getbufinfo() may not be available
2020-04-09 10:30:11 +09:00
Junegunn Choi
f90b3197ad
[fzf#vim#with_preview] Do not override --preview-window with the default value
...
Fix #975
2020-04-05 17:35:54 +09:00
Junegunn Choi
d4d36b412b
Update installation instruction
2020-03-17 14:29:57 +09:00
Junegunn Choi
7ccecee77d
Clarification: Files command runs $FZF_DEFAULT_COMMAND
...
Files is equivalent to running fzf without input pipe; fzf reads the
output of $FZF_DEFAULT_COMMAND
Related: #966
2020-03-17 12:07:37 +09:00
Junegunn Choi
d16ddcf58d
[History] Fix #964
2020-03-16 00:37:35 +09:00
Junegunn Choi
ef24327796
Enable preview window for BTags
...
Close #195
Close #799
Close #724
Close #955
2020-03-15 16:46:56 +09:00
Junegunn Choi
15ed47f561
Add option to globally enable or disable preview window
2020-03-15 16:16:04 +09:00
Kohei Murakami
ed9d66c2a6
Remove unnecessary escaping in tilde expansion ( #962 )
2020-03-11 23:22:06 +09:00
Junegunn Choi
e32a9c3767
Do not put --layout=reverse-list if FZF_DEFAULT_OPTS sets reverse layout
...
Close #916
2020-03-05 21:15:38 +09:00
uzxmx
48a2d80a24
[fzf#vim#preview] Respect $BAT_STYLE ( #953 )
2020-02-19 12:16:32 +09:00
Junegunn Choi
467c327788
Recommend running ./install --bin on update
2020-02-05 10:37:52 +09:00
Junegunn Choi
ee08c8f949
Clarification on 'do' option of Plug statement
2020-02-04 18:28:55 +09:00
Junegunn Choi
dc7796a6e2
Simplify the installation instruction
2020-02-04 18:23:53 +09:00
Phong
dc4c4c2271
Use FZF_PREVIEW_LINES instead of LINES ( #931 )
...
Since fzf v0.18.0 FZF_PREVIEW_LINES is preferred over LINES
2020-01-14 14:07:14 +09:00
Junegunn Choi
6eeeab64a8
Revert "[[B]Commits] Add support for files in submodules ( #919 )"
...
This reverts commit 360f7f36da .
2020-01-14 10:37:57 +09:00
matawed
360f7f36da
[[B]Commits] Add support for files in submodules ( #919 )
2020-01-14 10:36:05 +09:00
tockn
8a6894d6a5
Fix typo ( #914 )
2020-01-10 11:51:02 +09:00
Nils ANDRÉ-CHANG
8b778dc642
Remove useless line in autocmd ( #924 )
2020-01-10 11:48:06 +09:00
atarax
fab0597a50
[fzf#vim#grep] Properly handle filenames with double-colons ( #928 )
2020-01-10 11:45:08 +09:00
Junegunn Choi
76669c3c1d
Deprecate preview.rb
2019-12-22 18:11:18 +09:00
Junegunn Choi
f71f4808d9
Update examples
2019-12-18 10:08:03 +09:00
Junegunn Choi
206ec5efe9
Use --line-range and --highlight-line options of bat
2019-12-17 14:19:59 +09:00
Junegunn Choi
65edb6ad99
Update ISSUE_TEMPLATE
2019-11-24 22:44:30 +09:00
Junegunn Choi
6eda9fd38a
Revamp README
2019-11-24 19:33:58 +09:00
David Bengoa
fcdb7a0096
Fix broken anchor in link ( #908 )
2019-11-24 18:25:28 +09:00
Junegunn Choi
98cf39949b
Change fzf#vim#grep to rely on temporary FZF_DEFAULT_COMMAND
...
Related #907
Also https://github.com/junegunn/fzf/issues/1750
function! RipgrepFzf(query, fullscreen)
let command_fmt = 'rg --column --line-number --no-heading --color=always --smart-case %s || true'
let initial_command = printf(command_fmt, shellescape(a:query))
let reload_command = printf(command_fmt, '{q}')
let options = {'options': ['--phony', '--query', a:query, '--bind', 'change:reload:'.reload_command]}
call fzf#vim#grep(initial_command, 1, options, a:fullscreen)
endfunction
command! -nargs=* -bang RF call RipgrepFzf(<q-args>, <bang>0)
2019-11-17 12:22:10 +09:00
ptzz
bce6588d24
Fix preview of paths starting with ~/ ( #892 )
2019-11-01 10:31:41 +09:00
Viacheslav Lotsmanov
359a80e3a3
[History] Fix feedkeys to ignore command-line mappings ( #836 )
2019-07-04 15:53:22 +02:00
Junegunn Choi
91ed5f4b39
Fix invalid layout example
2019-06-08 23:29:43 +09:00
Tomáš Janoušek
5c87ab86c0
[Tags] Workaround for last-position-jump ( #810 )
...
If there's an autocmd for BufReadPost that jumps to the last position,
searching for the tag location sometimes results in vim printing the
wrapscan warning and then requires hit-enter. Execute the search
silently to suppress the warning (errors are still visible!).
2019-05-14 18:46:01 +09:00
Michael Gaffney
ac4e7bfb36
Allow 'fzf-vim.txt' to be listed in the LOCAL ADDITIONS section of help.txt ( #805 )
...
The first field on the first line of a help file should be a link to the
help file name. (See :h help-writing)
2019-04-29 13:33:16 +09:00