Commit Graph
100 Commits
Author SHA1 Message Date
Junegunn Choi 8fa84e0fdf [BLines] Fix incorrect line numbers when run with query (#694) 2018-09-08 02:39:46 +09:00
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 2a58380051 Update README: external terminal emulator no longer required in GVim 2018-07-29 01:05:00 +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 8d56bdd6ad Remove duplicate example 2018-07-11 13:28:41 +09:00
Junegunn Choi 1d9e7d2a90 Add global line completion example to README
Close #622
2018-07-11 13:27:50 +09:00
Junegunn Choi 033033daa3 [Buffers] Avoid cleaning up g:fzf#vim#buffers when the plugin is reloaded
Close #643
2018-06-22 12:30:31 +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
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
Junegunn Choi c0a5fee707 Clarify that "fzf.vim" depends on "fzf" 2018-01-09 01:36:51 +09:00
Junegunn Choi 2686522b2e Remove deprecated function 2018-01-09 01:18:37 +09:00
Junegunn Choi 3d33d4cd66 [fzf#vim#with_preview] Remove unnecessary -v flag 2018-01-02 18:25:30 +09:00
Junegunn Choi 009c58b481 Use $LINES instead of $FZF_PREVIEW_HEIGHT
Since 0.17.3, fzf exports $LINES and $COLUMNS to preview process.
FZF_PREVIEW_HEIGHT will be deprecated.
2017-12-09 23:22:24 +09:00
Junegunn Choi 11b7fb91e1 Decorate Vim 8 statusline
We used to decorate statusline only on Neovim, but we can do the same
for Vim 8.
2017-12-06 12:32:08 +09:00
Junegunn Choi 76926aa247 [Tags] Ignore optional semicolon after excmd in tag
Close #531
2017-12-03 05:28:58 +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
Junegunn Choi ba7a22888b Update instruction to hide statusline of terminal buffer 2017-11-19 12:14:40 +09:00
Junegunn Choi be8aa32b1e Add instruction to hide statusline of terminal buffer
https://github.com/junegunn/fzf/issues/1143
2017-11-19 12:12:22 +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
Junegunn Choi fbfbd04870 Clean up README 2017-10-21 09:27:18 +09:00
Junegunn Choi 852b38db2a Update installation instruction 2017-10-21 09:25:24 +09:00
Junegunn Choi 6ac8d1f742 Update vimdoc and remove duplicate tags
Close #467
2017-10-17 02:21:57 +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
Junegunn Choi e7928d154a [Files] Do not set up lengthy prompt on narrow screen 2017-09-05 18:50:18 +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
Junegunn Choi 39f0c2d0a4 Merge pull request #436 from janlazo/Windows_complete
[fzf#vim#complete#path] works in Windows
2017-08-28 22:38:41 +09: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
Junegunn Choi b9b275a897 Ignore Funcref actions in g:fzf_action
A Funcref action in g:fzf_action only handles a list of file paths so
they can't be used to open windows.

Related:
- #185
- https://github.com/junegunn/fzf/commit/2069bbc8b54fa77384e42274ee15af7b397af884
2017-08-14 17:42:33 +09:00
Junegunn Choi d3b9fed9c2 [Ag] Drop --nth to make search faster 2017-07-30 20:14:17 +09:00
Junegunn Choi 685f9aae97 [Tags] Remove --with-nth option to speed up loading 2017-07-24 02:35:21 +09:00
Junegunn Choi 55f6bc8367 [Tags/Helptags] Do not proceed if perl is not found
Related: https://github.com/junegunn/fzf.vim/issues/22#issuecomment-311873515
2017-07-01 01:18:01 +09:00
Junegunn Choi e1c3bba14b Update README regarding Windows support
Related: #372
2017-06-29 12:35:10 +09:00
Junegunn Choi 348a57a4a4 Allow fzf#complete to take hash argument with sink
This allows us to use the return value of fzf#wrap function with
fzf#complete.

This commit also removes obsolete g:fzf#vim#default_layout and
fzf#vim#layout.
2017-06-28 21:19:11 +09:00
Junegunn Choi ccc32c3164 Do not depend on fugitive for finding git root
Revert #239
Close #387
2017-06-16 10:39:50 +09:00
Junegunn Choi cf60e54647 [Commits] Commit hash can be longer 2017-06-10 03:44:52 +09:00
Junegunn Choi 990834ab6c [Helptags] Fix globpath pattern
Close #376
2017-05-22 01:29:48 +09:00
Junegunn Choi 536b6ace35 [[B]Tags] Proceed to the next command if the output is empty
Close #375
2017-05-20 01:52:19 +09:00
Junegunn Choi d99169da2d Use FZF_PREVIEW_HEIGHT if available. Requires fzf 0.16.7.
Close #361
2017-04-30 12:06:41 +09:00
Junegunn Choi 8ffd3fb0ba [Maps] Fix parse error in non-US locales
Close #324

Caveat: The fix assumes that the paths of Vimscript files do not contain
whitespaces. Maps will report incorrect paths if they do.
2017-04-24 10:48:31 +09:00
Junegunn Choi f3c3646c81 Fix <plug>(fzf-complete-buffer-line)
Reported by Roland Emmerich
2017-04-24 10:34:40 +09:00
Junegunn Choi 605d9da512 Update documentation 2017-03-18 02:14:43 +09:00
Junegunn Choi 2eaff04946 Show how to set up fzf#vim#files with fzf#vim#with_preview 2017-03-13 19:42:16 +09:00
Junegunn Choi 2b69c15226 Fix fzf#vim#with_preview: missing parentheses
Close #334
2017-03-13 19:28:40 +09:00
Junegunn Choi b7a19efa46 Update .github/ISSUE_TEMPLATE.md
Provide the latest vimrc for testing.

Reference: https://gist.github.com/atenni/5604615
2017-03-13 12:13:25 +09:00
Junegunn Choi 06a8b870c0 [Tags] Support multiple tags files
We also apply --nth 1..2 by default to limit the search scope.

Close #106
Related #5, #329
2017-03-10 17:04:52 +09:00
Junegunn Choi e4f79f6e98 Use shellescape instead of manual escaping
Close #328
2017-03-07 23:17:04 +09:00
Junegunn Choi 87a910a127 [[B]Commits] Enable sort by default 2017-03-03 12:20:44 +09:00
Junegunn Choi 364fea3ca0 [Tags] Temporarily unset autochdir
Close #269
2017-02-26 00:01:00 +09:00
Junegunn Choi fcca65bbe5 [BTags] Fix "tag commnads" argument 2017-02-18 13:51:06 +09:00
Junegunn Choi 1bf68a978b Do not override existing commands
So that we don't have to use VimEnter autocmd to override the commands
2017-02-07 11:40:31 +09:00
Junegunn Choi 4329721384 [Tags] Fall back to --algo=v1 if tags file is too large (> 200MB) 2017-02-03 12:34:20 +09:00
Junegunn Choi f77b644797 Revert "Replace --tiebreak=index with --nth 1,.."
The original issue with --tiebreak=begin will be fixed in fzf 0.16.4 so
we should use --tiebreak=begin again to avoid tokenization overhead.
2017-02-03 12:24:27 +09:00
Junegunn Choi 22e59c4da0 Replace --tiebreak=index with --nth 1,..
Currently, --tiebreak=begin does not guarantee the best result due to
performance considerations. But --nth 1,.. works better in these cases
anyway.
2017-01-25 10:17:30 +09:00
Junegunn Choi 51a4d3090f Use 24-bit colors (fzf 0.16.2)
Close https://github.com/junegunn/fzf/issues/789
2017-01-24 01:49:00 +09:00
Junegunn Choi f54ec7caf1 Do not preview binary files 2017-01-23 10:28:08 +09:00
Junegunn Choi 7460b4382c [GFiles?] Apply --tiebreak=index for status code filtering 2016-12-15 10:31:25 +09:00
Junegunn Choi abdf894edf [fzf#vim#with_preview] Expand relative path
Close #261
2016-12-08 13:30:06 +09:00
Junegunn Choi eb9e5803b1 [Files] Fix path display when cwd is ~ 2016-12-03 01:16:01 +09:00
Junegunn Choi 59eb2b19ac [Files] Display relative path in prompt 2016-12-02 21:07:37 +09:00
Junegunn Choi eb1f9b02f7 [fzf#vim#with_preview] Escape --bind expression
Close #256
2016-11-27 19:30:28 +09:00
Junegunn Choi 6e50206adf Apply -bar option to commands that do not take arguments 2016-11-26 21:51:24 +09:00
Junegunn Choi 9ce2c2179f Add fzf#vim#with_preview function for previewing search result
Close #225
2016-11-26 14:11:27 +09:00
Junegunn Choi 3fbcfdb9ea [Buffers] Ignore quickfix Windows (#249) 2016-11-26 13:00:57 +09:00
Junegunn Choi dc9364c137 [Tags] Case-insensitive Y/N prompt
Close #247
2016-11-22 12:36:18 +09:00
Junegunn Choi 30b93d5a82 Fix fzf#vim#ag to allow optional fullscreen argument 2016-11-13 19:49:21 +09:00
Junegunn Choi 7721fb2677 Check if fugitive#repo() exists
Caused by #239. Close #241.
2016-11-09 18:51:55 +09:00
Junegunn Choi 1a2f6c4df4 Fix git root detection (#239) 2016-11-09 13:07:51 +09:00
Junegunn Choi ad4e1e5691 [GFiles?] Wrap preview command in sh -c
To avoid errors when $SHELL is not posix-compliant.
Close #224.
2016-10-22 12:58:24 +09:00
Junegunn Choi 61eb53199c [GFiles?] Show diff in preview window 2016-10-11 15:45:20 +09:00
Junegunn Choi 5e3a3375c3 [GFiles?] Strip out [OLD -> ] prefix of renamed files
Close #215
2016-10-11 15:44:09 +09:00
Junegunn Choi 7d1b007cb2 [fzf#vim#grep] Ignore empty lines
Close #209
2016-09-30 13:34:17 +09:00
Junegunn Choi 3271f6c160 [[B]Commits] Fix #208
Also fix commands using --expect
2016-09-28 19:07:09 +09:00
Junegunn Choi 7060bbb07b Update README 2016-09-27 02:01:40 +09:00
Junegunn Choi b0a82c4d3f Fix #206 2016-09-27 01:54:20 +09:00
Junegunn Choi 5a088b2426 [Locate] -nargs=+
Close #204
2016-09-25 17:01:36 +09:00
Junegunn Choi 7707746311 Add fzf#vim#grep() function
Close #36

e.g.

  " Using git grep
  command! -bang -nargs=* GGrep call fzf#vim#grep('git grep --line-number '.shellescape(<q-args>), 0, <bang>0)

  " Using GNU grep
  command! -bang -nargs=* Grep call fzf#vim#grep('grep -r --line-number '.shellescape(<q-args>).' *', 0, <bang>0)
2016-09-25 16:48:47 +09:00
Junegunn Choi 6d1916197c Refactor code with fzf#wrap
Close #177
2016-09-25 15:29:10 +09:00
Junegunn Choi 726d37a686 [Tags] Interrupt handling 2016-09-24 22:41:44 +09:00
Junegunn Choi 93dbf1711e [Tags] Handle errors so that &magic and &wrapscan are properly restored
Close #202
2016-09-24 22:35:06 +09:00
Junegunn Choi 687f5e298f [Helptags] Fall back to s:uniq if uniq does not exist
Close #201
2016-09-22 11:01:42 +09:00
Junegunn Choi 0eb22e189d README: Suggest Highlight instead of CodeRay 2016-09-21 13:24:52 +09:00
Junegunn Choi 29c3d0769f [Buffers] Make the current buffer unselectable
Close #193
2016-09-21 13:13:03 +09:00
Junegunn Choi d36b6cb12c Simplify v:oldfiles filter 2016-09-19 02:16:28 +09:00
Junegunn Choi 5e20614c0f Do not use black foreground color as it can be unreadable
Close #189
2016-08-28 22:15:54 +09:00
Junegunn Choi 491ff9942f Add g:fzf_history_dir option
Close #176
2016-07-21 22:14:18 +09:00
Junegunn Choi 8b93c05d28 Make sure to reenable airline when enew layout is used
Close #175

Interestingly, BufUnload, BufDelete, or BufWipeout doesn't work.

Related:
- #173
- https://github.com/neovim/neovim/issues/2368
2016-07-19 20:39:51 +09:00
Junegunn Choi 78baf5517a Formatting 2016-07-18 16:49:15 +09:00