Commit graph

172 commits

Author SHA1 Message Date
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
Junegunn Choi
c786d51637
Add ISSUE_TEMPLATE.md 2016-05-24 02:13:19 +09:00
Junegunn Choi
d488fca344
Fix <plug>(fzf-maps-[nixo]) 2016-05-23 13:50:30 +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
Junegunn Choi
1a379acb0a Merge pull request #139 from blueyed/fix-complete-line
Fix fzf#vim#complete#line with new bufname display
2016-04-29 10:28:24 +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
Junegunn Choi
815660d8dc Merge pull request #136 from blueyed/lines-display-bufname
lines: display buffer names if there are more than 100 columns
2016-04-28 01:37:20 +09: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
129b09b62a Update installation instruction 2016-04-25 17:40:06 +09:00
Junegunn Choi
c183c9daa9 [[B]Lines] Remove unnecessary slicing 2016-04-22 10:06:50 +09:00
Junegunn Choi
5adab3b89c Merge pull request #132 from andviro/master
[Lines] Remove unneeded slicing
2016-04-22 09:05:51 +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
7066024d6f GUI colors neovim statusline 2016-04-19 02:49:55 +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
Junegunn Choi
757ab1cca2 Merge pull request #117 from buztard/nvim-colors
Make sure to use the cterm color attribute
2016-04-12 21:40:06 +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
Junegunn Choi
1ed70a995d Update README 2016-04-05 22:31:38 +09:00
Junegunn Choi
d080f43011 Merge pull request #111 from low-ghost/master
Add neovim terminal files to history filter
2016-04-04 04:04:17 +09:00
Mike Bagwell
89a6d9613c add neovim terminal files to history filter 2016-04-03 14:13:53 -04:00
Junegunn Choi
ee71f5a207 Merge pull request #110 from majjoha/majjoha/add-filetypes-command
Add `Filetypes` command.
2016-04-04 00:35:01 +09: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
49e88a1d75 Update help doc 2016-03-11 01:15:28 +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
Junegunn Choi
df25989b2b Merge pull request #87 from AdnoC/master
fzf#vim#buffer_tags([tag commands], options)
2016-02-20 03:01:29 +09:00