Commit Graph

313 Commits

Author SHA1 Message Date
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
Quinn Strahl 6a4760b87e Use fugitive (if available) to get the git root (#239) 2016-11-09 13:03:16 +09:00
Andrey Popp 0bc9b231fb [Buffers] Formatting buffers relatively to the cwd (#230) 2016-10-29 18:25:38 +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
Odin Dutton 47d4655bd8 [GFiles?] include all untracked files (#222)
By default git-status won't include new files in new directories.

E.g.

    foo/bar/baz.txt # "baz.txt" is a new file in a new directory "bar".

    $ git status --short
    ?? foo/bar/
2016-10-16 22:24:38 +09:00
Daniel Hahler e198586037 doc: suggest better default for g:fzf_history_dir (#219) 2016-10-14 10:08:31 +09:00
Daniel Hahler 901c32c045 Fix GitFiles? for deleted files (#218)
This uses `--` to separate the file name.
2016-10-12 10:00:16 +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
Aurélien Ooms 67b2393e8e Ignore doc tags (#191) 2016-09-01 09:07:12 +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
Junegunn Choi cd94fca6ce Update installation instruction for Homebrew fzf 2016-07-18 16:48:51 +09:00
Junegunn Choi e0182d3371 Add more g:fzf_layout examples 2016-07-02 20:32:24 +09:00
Junegunn Choi 81f3523611 State that both Plug options are not mandatory 2016-07-02 19:49:32 +09:00
Junegunn Choi a24a1bdaa2 [Files] Add g:fzf_files_options 2016-06-24 00:45:54 +09:00
Junegunn Choi 25861ddf2b Update vimdoc 2016-06-24 00:36:16 +09:00
Junegunn Choi c65e2ead63 [completion] Fix completion anomaly with virtualedit
Close #157
2016-06-21 01:20:13 +09:00
Junegunn Choi 6b62cb418a [Commands] CTRL-X to directly execute the command
Close #162
2016-06-21 01:07:17 +09:00
Junegunn Choi 94e499b131 Feed 'a' only when Neovim terminal is used
Close #165 and #166
2016-06-20 22:41:10 +09:00
Junegunn Choi 4d252902c9 Revert "Feed 'a' only when Neovim terminal is used"
This reverts commit a48a9e8064.
2016-06-20 22:39:44 +09:00
Junegunn Choi a48a9e8064 Feed 'a' only when Neovim terminal is used
Close #165 and #166
2016-06-20 22:38:01 +09:00
Junegunn Choi 0867178d99 Make s:fzf return the result from fzf#run function
Related: #156
2016-06-14 13:14:50 +09:00
Junegunn Choi 9579b45450 Fix escaping of query arguments 2016-06-13 14:24:21 +09:00
Junegunn Choi 7c58cb98e9 [GFiles] Alias of GitFiles
Easier to type. e.g. GF?
2016-06-10 23:03:13 +09:00
Junegunn Choi 9a1f6a8d83 reltimefloat may not available
Close #153
2016-06-07 23:44:50 +09:00
Dani Hodovic 60aaf2624c [Buffers] Use reltimefloat(reltime()) instead of localtime() (#152)
* Nanoseconds instead of seconds for buffer timestmaps

Fzf :Buffers uses a dictionary where it stores the last time accessed of
the current buffers. This is used to sort the buffers.
The timestamp is retrieved from a call to localtime() which returns the
current second the buffer is accessed. However, fzf functions in such a
way that before it enters the newly selected buffer, it enters the
current buffer. Sometimes this causes the last two buffers to have the
same timestamp. Repeatedly switching between two buffers yields
inconsistent results.
This commit fixes the issue by using seconds and microseconds from the
bash call `date`. The buffers are now guaranteed to be sorted by last
accessed.

* Use reltime() instead of linux date

This solution is better for compatability reasons.

* Remove trailing whitespace
2016-06-07 21:58:52 +09:00
Junegunn Choi 0897718523 Merge pull request #150 from dguo/systemlist-fix
[GitFiles] Use system instead of systemlist
2016-06-05 14:47:43 +09:00
Danny Guo 74dc8d261d [GitFiles] Use system instead of systemlist
systemlist doesn't exist before Vim 7.4:248. See jebaum/vim-tmuxify#18
2016-06-05 00:46:16 -04:00
Junegunn Choi dffac8c3b4 Use feedkeys with noremap option 2016-06-05 00:09:25 +09:00
Junegunn Choi 4d911563cd [GitFiles] Take ls-files options as the arguments
Close #146
2016-05-25 00:24:53 +09:00