Commit Graph

69 Commits

Author SHA1 Message Date
Junegunn Choi 6e50206adf Apply -bar option to commands that do not take arguments 2016-11-26 21:51:24 +09:00
Nate 77db64ef2c Allow restyling of the fzf[123] groups (#254) 2016-11-26 14:59:06 +09:00
Junegunn Choi 5a088b2426 [Locate] -nargs=+
Close #204
2016-09-25 17:01:36 +09:00
Junegunn Choi 6d1916197c Refactor code with fzf#wrap
Close #177
2016-09-25 15:29:10 +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 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 d488fca344 Fix <plug>(fzf-maps-[nixo]) 2016-05-23 13:50:30 +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 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
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 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 baa6269062 sed in <plug>(fzf-complete-file) should not remove the first line
The preceding find command does not print `.`.
2016-02-04 07:17:21 +09:00
Junegunn Choi da58759f88 [Locate] -complete=dir 2015-11-11 01:59:24 +09:00
Ilia Choly 1a2d597045 Add GitFiles command 2015-11-01 15:33:49 -05:00
Junegunn Choi 0e995e1913 Customizable statusline
Close #32
2015-10-31 00:36:33 +09:00
Junegunn Choi fcd3bbf9b2 Add <plug>(fzf-maps-[nixo]) - Mapping selecting mappings 2015-10-05 00:34:16 +09:00
Junegunn Choi 8a47a2bf5f Merge s:defs calls
Avoid duplicate error messages on invalid g:fzf_command_prefix
2015-10-01 03:47:16 +09:00
Junegunn Choi 95123eaf9b Fix g:fzf_command_prefix not applied to History
/cc @atweiden
2015-10-01 03:30:46 +09:00
Tommy Allen e5c38eb1a5 Replace the terminal window's statusline in NeoVim 2015-09-30 14:21:51 -04:00
Junegunn Choi 9c98fda058 Fix #18 - Add g:fzf_command_prefix 2015-09-30 18:51:01 +09:00
Junegunn Choi 921d92ff4a [BCommits] Add BCommits command 2015-09-20 14:51:06 +09:00
Junegunn Choi d8b54082c1 [Commits] Add Commits command for browsing git commits
- Enter, CTRL-T/X/V to show commit
- CTRL-D to diff against HEAD
- Multiple selection with TAB / Shift-TAB

Close #13
2015-09-20 01:26:28 +09:00
Junegunn Choi 47fb2c3eb6 Make fzf#vim#complete#path take command as the first argument
inoremap <expr> <c-x><c-g> fzf#vim#complete#path('git ls-files $(git rev-parse --show-toplevel)')
2015-09-12 02:52:43 +09:00
Junegunn Choi d2b235262e Code restructuring 2015-09-06 01:00:04 +09:00
Junegunn Choi 46c0e47b02 Fix History[:/] - History command itself can shift index by one 2015-09-02 23:07:02 +09:00
Junegunn Choi e252f45762 Command history and search history (#6) 2015-09-02 22:54:21 +09:00
Junegunn Choi e3cac09d60 Ignore __Tagbar__ buffer 2015-09-02 19:10:49 +09:00
Junegunn Choi 332513de58 [Commands] List user-defined commands first 2015-08-31 23:09:55 +09:00
Junegunn Choi 4d99749294 normal! zz on BTags and Tags 2015-08-29 23:03:33 +09:00
Junegunn Choi eec4a667d8 Extend Commands to include default ex commands 2015-08-29 22:51:34 +09:00
Junegunn Choi 602d98b7eb Fix #1 - Helptags to update &rtp when required 2015-08-29 00:43:06 +09:00
Junegunn Choi f73ac9283d Remove dead code 2015-08-28 18:42:43 +09:00
Junegunn Choi 40d5fad5bd Apply new dynamic height option 2015-08-28 18:41:18 +09:00
Junegunn Choi e43e945ccc Add Windows command
Close #4
2015-08-28 17:49:50 +09:00
Junegunn Choi bc00b07079 Fix #3 - Use colors instead of --with-nth for readability 2015-08-25 02:28:56 +09:00
Junegunn Choi 366f290bda No bold colors 2015-08-25 02:27:31 +09:00
Junegunn Choi 8fbd617197 Add Helptags command
If you use pathogen, you may notice that the name of the new command
conflicts with the command of the same name from it, but you can still
`call pathogen#helptags()`.
2015-08-24 01:43:32 +09:00
Junegunn Choi 3a70b0b273 Add line completion (global and local) 2015-08-23 04:23:16 +09:00
Junegunn Choi e192cfef43 Add BLines command (buffer lines) 2015-08-23 04:19:39 +09:00
Junegunn Choi b9c75fda50 Fix tab handling bug in Tags command 2015-08-23 01:30:04 +09:00
Junegunn Choi 11b29d1555 Apply -x to Buffers and Marks 2015-08-23 00:06:27 +09:00
Junegunn Choi 1ccd3d0c72 Apply --tiebreak=index option 2015-08-22 23:03:56 +09:00
Junegunn Choi ec0d685faf Add Marks command 2015-08-22 22:57:28 +09:00
Junegunn Choi 813b58b3ea Add mappings 2015-08-22 01:00:31 +09:00
Junegunn Choi 8855227506 g:fzf_layout 2015-08-22 00:55:57 +09:00