Commit graph

98 commits

Author SHA1 Message Date
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
a24a1bdaa2
[Files] Add g:fzf_files_options 2016-06-24 00:45:54 +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
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
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
Junegunn Choi
ecb3131d3f
Add fzf#vim#ag_raw function
Close #144
Close #27
2016-05-18 00:39:51 +09:00
Junegunn Choi
a3c6a3629f
Use default layout when no optional dictionary argument is given 2016-05-17 22:38:06 +09:00
Junegunn Choi
78c3d254ae
[[B]Lines] Default query as the optional argument
Close #143
2016-05-17 00:47:28 +09:00
Junegunn Choi
47806da408
[Tags] Add g:fzf_tags_command
Close #138
2016-05-12 01:43:07 +09:00
Junegunn Choi
94bdefe123 Merge pull request #140 from blueyed/vim-tags-handle-nowrapscan
[vim] handle 'nowrapscan' option in s:tags_sink
2016-04-29 10:45:45 +09:00
Junegunn Choi
fcc798e99e Addendum fix for #136
- Apply --tabstop=1 to line completion
- Fix incorrect --nth

Related: #139, #136
2016-04-29 10:40:57 +09:00
Daniel Hahler
8fd08087cd [vim] handle 'nowrapscan' option in s:tags_sink
With 'nowrapscan' a tag might not be found, depending of the position in
the file.
2016-04-28 23:43:32 +02:00
Daniel Hahler
2af89da3d5 Fix fzf#vim#complete#line with new bufname display
This has been broken in 397a2e6.
2016-04-28 21:35:28 +02:00
Daniel Hahler
397a2e6c7d lines: display buffer names if there are more than 100 columns
This also uses --tabstop=1 explicitly, where the default of 8 would add
too much whitespace - especially with another tabstop being used to
split the line number from the buffer name.
2016-04-26 23:09:40 +02:00
Junegunn Choi
2eebbf6540 Fix #134 - ":e CURRENT_FILE" can cause error when modified 2016-04-25 23:54:04 +09:00
Junegunn Choi
c183c9daa9 [[B]Lines] Remove unnecessary slicing 2016-04-22 10:06:50 +09:00
Andrew Rodionoff
2345892c1f removed unneeded slice 2016-04-21 21:20:55 +03:00
Junegunn Choi
9e2aa1a710 GitFiles? 2016-04-21 01:01:59 +09:00
Junegunn Choi
90169196e1 [Tags] Ask before generating tags file
Close #127
2016-04-19 01:11:16 +09:00
Junegunn Choi
a148f78863 [History[:/]] Redraw screen 2016-04-15 22:42:17 +09:00
Junegunn Choi
ef3e5e0a37 [History[:/]] Fix regression
Close #124
2016-04-15 22:41:05 +09:00
Bastian Winkler
513ed1ff50 Make sure to use the cterm color attribute
This should fix color selection with true-color enabled terminal neovim.
2016-04-12 09:46:01 +02:00
Junegunn Choi
8efc2d29ab [Windows] Fix regression
Close #116
2016-04-12 01:33:18 +09:00
Junegunn Choi
7cfff6b16f Fix #114 - Escape $ 2016-04-09 21:41:59 +09:00
Junegunn Choi
e9187959ba Use colors that match the current color scheme and add g:fzf_colors
Close #59 and #112
2016-04-09 21:34:38 +09:00
Mike Bagwell
89a6d9613c add neovim terminal files to history filter 2016-04-03 14:13:53 -04:00
Mathias Jean Johansen
fb358ad4e6 Add Filetypes command.
Close #109.
2016-04-03 15:24:19 +02:00
Junegunn Choi
852cfa0c11 [Buffers] Sort buffers by MRU order
Close #100
2016-03-16 00:18:23 +09:00
Junegunn Choi
29db9ea140 [Buffers] Add g:fzf_buffers_jump to jump to existing window
Close #98
2016-03-11 01:14:42 +09:00
Junegunn Choi
fe7bebb62a Fix bug in #87 2016-03-06 13:23:24 +09:00
Junegunn Choi
0352153789 [History] Fix invalid regular expression for filtering .git directory
Close #91
2016-02-24 12:08:31 +09:00
Junegunn Choi
b9285c87db [Tags/BTags] Take optional argument as the default query
Related #90. Function signature of s:btags_source has changed.

/cc @AdnoC
2016-02-24 00:41:05 +09:00
Junegunn Choi
345dae5a08 [Tags] Return if failed to create tags 2016-02-24 00:09:08 +09:00
AdnoC
2133f25675 fzf#vim#buffer_tags([tag commands], options)
Added ability to specify the commands used to generate tags
2016-02-18 23:58:59 -05:00
Junegunn Choi
be01b64586 [Lines] Use readfile() if buffer is not yet loaded
Close #86
2016-02-19 00:29:46 +09:00
Junegunn Choi
d940ab1c5a Revert "[Lines] Use readfile() if buffer is not yet loaded"
This reverts commit 16ffd82a58.
2016-02-19 00:28:35 +09:00
Junegunn Choi
16ffd82a58 [Lines] Use readfile() if buffer is not yet loaded
Close #86
2016-02-19 00:28:01 +09:00
Junegunn Choi
990dfe41ff Fix #81 - Wrong insert position of fzf#vim#complete 2016-02-07 22:45:37 +09:00
Junegunn Choi
00fdb54c9d [BTags] Add --reverse option to display tags in order
Close #72
2016-01-18 01:15:59 +09:00