Junegunn Choi
a3459df758
Add Rg for ripgrep
2018-08-31 17:27:35 +09:00
Junegunn Choi
2eb1bccea9
[Lines] Fix formatting error
2018-08-30 13:33:22 +09:00
Junegunn Choi
f52fcd3d6c
[Marks] Use foreground color for "Number" highlight group ( #581 )
2018-08-29 17:54:33 +09:00
Junegunn Choi
e042ec03a2
[Ag] Use base blue colors
...
Close #454
2018-08-29 17:53:58 +09:00
Junegunn Choi
633c980c05
Fix base ANSI colors ( #581 )
2018-08-29 17:53:20 +09:00
Junegunn Choi
bd80d334be
Fix background color of Lines/BLines
...
Close #555
2018-08-29 11:09:22 +09:00
Junegunn Choi
f39c92b7ce
Use --layout=reverse-list when appropriate (fzf 0.17.4 required)
2018-07-29 01:08:44 +09:00
Junegunn Choi
6ce58caad3
[Commits] Use FugitiveGenerate to get proper commit URL
...
Close #674
2018-07-22 17:08:27 +09:00
Junegunn Choi
1b01a5069b
[History] Append command to command history
...
Close #661
Fix #549
2018-06-22 12:13:32 +09:00
Junegunn Choi
6aa1db67a5
[History] Fix #549 - Avoid : or / map
2018-06-22 12:06:33 +09:00
Ala Ibrahim
ce82e10630
[Buffers] Clean up buffer names ( #637 )
...
Issue: While following paths in a file, it might end up in paths like
`a/b/../c/d.ext` or `a/b/./c.ext`, which would be cleaner if displayed
like `a/c/d.ext` and `a/b/c.ext`.
Solution: Expand fullpath to resolve directories before collapsing it to
home directory/relative path.
2018-05-28 16:03:33 +09:00
Håken Lid
88595ebbaa
[History] Use fnamemodify instead of expand ( #626 )
...
Close #573
2018-04-28 11:05:42 +09:00
Junegunn Choi
dc5f9437fc
[BTags] Use sort executable only on Unix (excluding Cygwin) ( #620 )
2018-04-19 17:55:22 +09:00
Junegunn Choi
3661409e95
[BTags] Group tags by scope
...
Related #620
2018-04-18 14:09:54 +09:00
Justin M. Keyes
bbda33b402
buffer_tags: sort tags
...
This is nice for (ab)using :BTags to "browse" functions in a source
file.
2018-04-17 18:26:09 +09:00
Jan Edmund Lazo
dcf49751e9
[BTags][Buffers] use list type for options
2018-04-11 10:11:06 +09:00
Jan Edmund Lazo
9f0bae1248
[Lines][BLines][Tags] use list form for options
2018-04-11 10:11:06 +09:00
Pascal Lalancette
17d24ae31d
[Helptags] Ignore wildignore setting ( #567 )
...
If `tags` is set in the `wildignore` option, `:Helptags` command would
always return an empty list.
2018-01-21 19:52:23 +09:00
Junegunn Choi
2686522b2e
Remove deprecated function
2018-01-09 01:18:37 +09:00
Jan Edmund Lazo
7e92b73d03
[fzf#vim#with_preview] workaround system() newline ( #557 )
...
system() adds an extra newline which breaks the DOS shortname hack
for Neovim on Windows.
Suppress echo so the DOS shortname is the 1st line of the output
Related: https://github.com/neovim/neovim/issues/7788
2018-01-02 18:28:17 +09:00
Junegunn Choi
3d33d4cd66
[fzf#vim#with_preview] Remove unnecessary -v flag
2018-01-02 18:25:30 +09:00
Jan Edmund Lazo
9036680e74
[fzf#vim#with_preview] Escape preview script path ( #558 )
...
Close: https://github.com/junegunn/fzf.vim/issues/554
2018-01-02 18:21:14 +09:00
Jan Edmund Lazo
02654656af
[Tags] run perl for s:bin.tags ( #559 )
2018-01-02 18:14:48 +09:00
Junegunn Choi
76926aa247
[Tags] Ignore optional semicolon after excmd in tag
...
Close #531
2017-12-03 05:28:58 +09:00
Niraj Thapaliya
d0042b9dee
[[B]Commit] Fix preview command for fish shell ( #518 )
...
* Fish shell doesn't like <<<
Echo to pipe instead
* Only return the first match
Useful if the commit message has a project tracker id that looks
similar to a git commit hash
2017-11-24 13:18:55 +09:00
Junegunn Choi
45d39f5711
[[B]Commits] Do not enable preview on narrow screen
...
Only enable --preview if &columns > 120.
Caveat: When fzf starts in a terminal buffer, &columns does not
represent the width of the window.
Related: #461
2017-11-24 01:13:17 +09:00
Junegunn Choi
6902f6bc1c
[[B]Commits] CTRL-Y to yank commit hashes to register
...
Close #516
2017-11-24 01:07:14 +09:00
Jan Edmund Lazo
ad113a64fc
[Tags] Use fnameescape to escape command line arguments ( #512 )
...
Port of 7727ad43af
Related: #504
2017-11-21 00:19:13 +09:00
Junegunn Choi
18df14c2f6
Revert "[GitFiles] Support files with special characters ( #500 )" ( #509 )
...
This reverts commit 004af25150 .
2017-11-16 19:30:14 +09:00
Michael Budde
004af25150
[GitFiles] Support files with special characters ( #500 )
...
By default git will quote filenames that contain special characters.
From the git help on the `core.quotepath` config:
> The commands that output paths (e.g. `ls-files`, `diff`), when not given
> the `-z` option, will quote "unusual" characters in the pathname by
> enclosing the pathname in a double-quote pair and with backslashes the
> same way strings in C source code are quoted. If this variable is set
> to false, the bytes higher than 0x80 are not quoted but output as
> verbatim. Note that double quote, backslash and control characters are
> always quoted without `-z` regardless of the setting of this variable.
This quoting behaviour means that GitFiles cannot be used to open files
that contain any special characters. Fix this by using the `-z` option
to `ls-files` together with the `--read0` option on fzf.
2017-11-16 15:11:27 +09:00
Josh Pencheon
4b9e2a03fe
[GFiles] Avoid duplicate entries ( #473 )
...
It is presumed that duplicates in `git ls-files` are contiguous.
2017-11-14 12:54:07 +09:00
Michael Kaiser
5c6cee878a
[fzf#vim#colors] Pick up colorschemes from opt packages ( #489 )
2017-11-02 21:35:48 +09:00
Josh Pencheon
f31a2925fe
[BCommits] Remove --graph option ( #474 )
2017-10-25 18:57:27 +09:00
Jan Edmund Lazo
b51382fe9e
[fzf#vim#preview] Use ruby in Windows if available ( #471 )
...
Close #459
2017-10-22 22:50:12 +09:00
Junegunn Choi
121bd70fcf
[[B]Commits] Enable preview window by default
...
Close #461
2017-10-08 03:45:31 +09:00
Junegunn Choi
b24038960e
Fix incorrect --query option in completion
...
s:complete_trigger should prepend the default options instead of
appending them. The bug was introduced in 25ea637 .
/tmp/foo<ctrl-x><ctrl-f> should give fzf prompt "/tmp/" and default
query "foo". But it used to give "/tmp//tmp/foo".
2017-09-26 15:20:27 +09:00
Junegunn Choi
36f6e6b5b0
Fix s:wrap for Vim 7.4
...
Close #446
2017-09-14 19:13:11 +09:00
Jan Edmund Lazo
2fd046fa76
[Files] Port junegunn/fzf/pull/1043 ( #442 )
2017-09-07 11:03:56 +09:00
Junegunn Choi
e7928d154a
[Files] Do not set up lengthy prompt on narrow screen
2017-09-05 18:50:18 +09:00
Jan Edmund Lazo
df79877245
[fzf#vim#preview] works with Windows default command ( #441 )
2017-09-04 22:50:37 +09:00
Junegunn Choi
0b0d9f0912
[Ag] Print error message when ag is not found on $PATH
...
Close #440
2017-09-01 11:10:42 +09:00
Jan Edmund Lazo
34ceec14d2
[fzf#vim#complete] append --no-expect to options
...
Reference: https://github.com/junegunn/fzf.vim/pull/436#discussion_r135379047
2017-08-27 08:50:35 -04:00
Jan Edmund Lazo
b73cec55f0
[fzf#vim#complete#path] works in Windows
2017-08-27 08:50:35 -04:00
Jan Edmund Lazo
25ea6371b2
[s:complete_trigger] use list type for options
2017-08-27 08:50:35 -04:00
Junegunn Choi
4e603e4fab
[Commits] Fix formatting of commit log
2017-08-27 05:10:51 +09:00
Junegunn Choi
13b27c45c8
Merge pull request #429 from janlazo/Windows_Ag
...
[Ag, fzf#vim#grep] works in Windows
2017-08-25 22:57:55 +09:00
Junegunn Choi
e246016844
[History] Remove duplicates and print list in MRU order
...
Close #434
2017-08-24 02:58:27 +09:00
Jan Edmund Lazo
a4d4986d18
Make 8.3 filename via cmd.exe for Neovim
2017-08-22 06:02:30 -04:00
Jan Edmund Lazo
b0baf7593d
[Commits,BCommits] Windows support ( #430 )
...
Works only in s:execute of fzf's Vim plugin.
s:execute_term corrupts the output of fzf#shellescape.
2017-08-22 02:13:06 +09:00
Jan Edmund Lazo
dda682ad69
Revert "Run preview script in batchfile for Windows"
...
The reverted commit is broken.
Keep it simple by sticking with the fnamemodify hack.
Hope that Neovim supports 8.3 filenames
2017-08-20 22:55:47 -04:00