BREAKING CHANGES:
- Let
Leaderf rg {pattern}work
Feature enhancements:
- Feature #293:
Let--recallsupport all leaderf cmd.
Leaderf --recallto recall last Leaderf command - Feature #360:
Find file based on the current buffer
Add g:Lf_IgnoreCurrentBufferName - Enhance the ability to write extension for nvim
- Add support for
Leaderf! file - Add "--auto-jump" support for
Leaderf[!] gtags --by-context - Add "--no-messages" for Leaderf rg
- Add g:Lf_Debug_Gtags
Bug fixes:
Feature enhancements:
- Feature #191:
add support for GNU Global(
Leaderf gtags)
For more details:Leaderf gtags -h - Feature #254:
Add rg option
--type-add. - Add
--no-split-pathfor "Leaderf mru" - Add mouse wheel support for terminal vim
- Add rg options
--no-pcre2-unicode,--path-separator,--sort,--sortr,-f,--match-path - Add g:Lf_RgConfig and g:Lf_MaxCount
- Feature #266:
Add "-A", "-B" and "-C" options for
Leaderf rg - Feature #274: Add g:Lf_NoChdir
- Feature #277:
Add
--wd-modesupport forLeaderf rg - Add preview support for
Leaderf file - Add preview support for
Leaderf mru - Use tab drop to open buffer
--wd-modeuse the value ofg:Lf_WorkingDirectoryModeby default- Optimize the asyncExecutor
- Add
--nextand--previousto navigate the results
Bug fixes:
- BUG #257
- BUG #261 Never read configuration files.
- BUG #267
- BUG #272
- BUG #273
- BUG #278
- BUG #280
- BUG #283
- BUG #297
- BUG #302
- BUG #304
- BUG #307
- BUG #310
- BUG #315
- Fix the hang issue if
silent
BREAKING CHANGES:
<Up>and<Down>is changed. issue #236
from:navigate the result list.
to:recall last/next input pattern from history.
Feature enhancements:
- Feature #57:
Add support for rg(
Leaderf rg)
For more details:Leaderf rg -h - Feature #130: Add Changelog file.
- Feature #208:
Add support for input file list.
Add--fileoption forLeaderf file. - Feature #213:
Add support for input history.
Use<UP>and<Down>to loop the input history. - Add
one-darkcolorscheme. - Add
--nowrapoption for LeaderF.
Bug fixes:
- BUG #220
- BUG #227:
autocmd filetype leaderf set nonumberis broken after this commit - BUG #233
- BUG #234
- BUG #241
- BUG #245
- Restore original sizes only if windows count no change.
Feature enhancements:
-
Add support for
and mode.
In fuzzy mode, using' '(space) as the and operator(g:Lf_AndDelimiter), the candidate lines should fuzzily match all the substrings separated by space.e.g., input
abc def gh,it can match the following strings:...a.b.c...d.e.f...g.h... ...a.b.c...g.h...d.e.f... ...a.d..e.g.b.c...h..f... ...gh...def...abc...
Feature enhancements:
- Add a new thread to read output of AsyncExecutor.
- Feature #222: Allow for bottom-up ordering of results.
Bug fixes:
- Fix a critical latent bug introduced by PR #131.
- BUG #223: NameOnly bug when searching directories.
- BUG #224
- BUG #225: install.sh failed on Windows10(msys64).
BREAKING CHANGES:
<Esc>in normal mode does not quit LeaderF any more, because there is a bug in vim that all the function keys can not work correctly if<Esc>is mapped.
Feature enhancements:
- Optimize the fuzzy matching algorithm.
- Add fuzzyEngine to fully take advantage of the cpu cores.
- Feature #202:
Add
g:Lf_CtagsFuncOpts. - Feature #205:
Allow LeaderF to work with Git submodules. Add
g:Lf_RecurseSubmodules. - Add "need_exit": funcref (line, arguments)
- Feature #194 #217: Add '--no-ignore'.
Bug fixes:
- BUG #192:
Swapping mapping of
<Tab>and<CR>doesn't work in commandmap. - Fix a huge bug.
- BUG #197
- Don't support ag on Windows because of issue #190 and #198.
- BUG #206: No module named leaderf.
- BUG #209
- BUG #210: Undefined variable: g:Lf_MruCacheFileName when calling LeaderfMru.
- BUG #218: Add if python is present in system.
Feature enhancements:
- Optimize the fuzzy matching algorithm.
Bug fixes:
- There is a bug if
let g:Lf_WorkingDirectoryMode = "Ac" - BUG #138: DeprecationWarning with python 3.7 on Windows 10.
- BUG #176: Slow start in neovim.
- BUG #180: Leaderf ignore Lf_WildIgnore.
- BUG #181: Search dir is same when two tabpage's work dir is different.
- A bug because of neovim/neovim#8690.
Feature enhancements:
-
Beautify the display of bufTag.
-
Feature #144: Add the capability to search everything. Support writing extensions in vimscript.
Add a universal command line interface for LeaderF.usage: Leaderf[!] [-h] [--reverse] [--stayOpen] [--input INPUT | --cword] [--top | --bottom | --left | --right | --belowright | --aboveleft | --fullScreen] [--nameOnly | --fullPath | --fuzzy | --regex] {file,tag,function,mru,searchHistory,cmdHistory,help,line,colorscheme,self,bufTag,buffer} ... optional arguments: -h, --help show this help message and exit --reverse show results in bottom-up order --stayOpen don't quit LeaderF after accepting an entry --input INPUT specifies INPUT as the pattern inputted in advance --cword current word under cursor is inputted in advance --top the LeaderF window is at the top of the screen --bottom the LeaderF window is at the bottom of the screen --left the LeaderF window is at the left of the screen --right the LeaderF window is at the right of the screen --belowright the LeaderF window is at the belowright of the screen --aboveleft the LeaderF window is at the aboveleft of the screen --fullScreen the LeaderF window takes up the full screen --nameOnly LeaderF is in NameOnly mode by default --fullPath LeaderF is in FullPath mode by default --fuzzy LeaderF is in Fuzzy mode by default --regex LeaderF is in Regex mode by default subcommands: {file,tag,function,mru,searchHistory,cmdHistory,help,line,colorscheme,self,bufTag,buffer} file search files tag navigate tags using the tags file function navigate functions or methods in the buffer mru search most recently used files searchHistory execute the search command in the history cmdHistory execute the command in the history help navigate the help tags line search a line in the buffer colorscheme switch between colorschemes self execute the commands of itself bufTag navigate tags in the buffer buffer search buffers If [!] is given, enter normal mode directly.use
:Leaderf <subcommand> -hto get specific help of subcommand, e.g.,:Leaderf mru -h. -
Feature #160: Search result window auto closed after choose a item add "--stayOpen".
-
Feature #162: Add
<PageUp>and<PageDown>support.
Bug fixes:
- BUG #164: LeaderfLine can't work after syntax off
- BUG #165: LeaderfLine have UnicodeEncodeError in some file by use vim binary mode.
- Fix an issue that Popen.poll always returns None.
- BUG #175
BREAKING CHANGES:
<ESC>is changed into 'quit from LeaderF', use<Tab>as the key 'switch to normal mode'.
Feature enhancements:
- Add
g:Lf_StlSeparator.font. - Feature #105:
List all buffers in current tab.
Add
LeaderfTabBufferandLeaderfTabBufferAll. - Feature #127:
Add new option
g:Lf_HideHelpto hide "Press F1 for help". - Add ISSUE_TEMPLATE.md
- Feature #143:
Add bang support for
LeadfFunction,LeaderfBufTagto enter normal mode directly. (Add support forLeaderfFunction!,LeaderfBufTag!) - Add
g:Lf_Debug_Cmdto help debug issue. - LeaderfFunction: Support Rust and OCaml
- Add command p(preview the result) in normal mode.
- Add
g:Lf_ShowHidden. - Feature #149:
Add
g:Lf_MruWildIgnore. - Feature #158:
Use
<Tab>to go back to "input" mode.
Bug fixes:
- BUG #94: Utf-8 error.
- BUG #95: LeaderfBufferAll doesn't list all buffers.
- BUG #97: Long startup time when using NeoVim.
- BUG #98: LeaderfFile does not work properly when using with lcd.
- Update the installation script.
- BUG #102: Using LeaderF while having a quickfix window open is pushing splits up.
- BUG #103:
let g:Lf_StlSeparator = { 'left': '', 'right': '' }if encoding is not UTF-8. - BUG #121:
:LeaderfFile ~outputs "No content!" - Fix a bug open more than 10 buffers, then close some buffers until number of buffers less than 10, launch
LeaderfBuffer, something goes wrong - Fix hang when the instance buffer is wiped
- BUG #129: Error: Key not present in Dictionary: font.
- BUG #132: Error after reload vimrc.
- BUG #137:
Python os.chdir() takes no effect for NeoVim(neovim/neovim#8336).
Using
vim.chdiras workaround. - BUG #141: Absurd height of the LeaderF window after resizing GVim while LeaderF is opening.
- BUG #147: Don't show file name for current buffer.
- BUG #155: Add augroup for autocmds.
- Fix an issue can not change directory correctly if buffer name has non-ascii characters.
- BUG #155: Change VimLeave to VimLeavePre.
- BUG #156: Error reported if encoding missing in tempfile.NamedTemporaryFile.
- BUG #157: Keep selection when changing mode.
- BUG #159: Error occurs if buffer list empty.
BREAKING CHANGES:
-
Change the default value of
g:Lf_WildIgnoreFrom
let g:Lf_WildIgnore = { \ 'dir': ['.svn','.git','.hg'], \ 'file': ['*.sw?','~$*','*.bak','*.exe','*.o','*.so','*.py[co]'] \}
to
let g:Lf_WildIgnore = { \ 'dir': ['.svn','.git','.hg'], \ 'file': [] \}
Feature enhancements:
-
Refactor the code to make LeaderF extensible.
-
Better
asynchronousexperience. -
Add helpExpl.
-
Add colorschemeExpl.
-
Optimize the fuzzy matching algorithm.
-
Make history editable.
-
Feature #43: Add
g:Lf_RootMarkersandg:Lf_WorkingDirectoryMode. -
Feature #54: Change the keys in normal mode.
-
Add fuzzy matching algorithm written in C.
-
Feature #62: Add
g:Lf_RememberLastSearchto remember last search. -
Set the default color of light background.
-
Feature #64: Add
g:Lf_UseCache. -
Add window position
aboveleftandbelowright. -
Add support for
*.pywfile -
Feature #83: Add the following commands.
Command Description :LeaderfFilePattern <pattern>like LeaderfFile, withpatterninputted in advance:LeaderfFileCwordlike LeaderfFile, with word under the cursor as pattern inputted in advance:LeaderfBufferPattern <pattern>like LeaderfBuffer, withpatterninputted in advance:LeaderfBufferCwordlike LeaderfBuffer, with word under the cursor as pattern inputted in advance:LeaderfMruPattern <pattern>like LeaderfMru, withpatterninputted in advance:LeaderfMruCwordlike LeaderfMru, with word under the cursor as pattern inputted in advance:LeaderfMruCwdPattern <pattern>like LeaderfMruCwd, withpatterninputted in advance:LeaderfMruCwdCwordlike LeaderfMruCwd, with word under the cursor as pattern inputted in advance:LeaderfTagPattern <pattern>like LeaderfTag, withpatterninputted in advance:LeaderfTagCwordlike LeaderfTag, with word under the cursor as pattern inputted in advance:LeaderfBufTagPattern <pattern>like LeaderfBufTag, withpatterninputted in advance:LeaderfBufTagCwordlike LeaderfBufTag, with word under the cursor as pattern inputted in advance:LeaderfBufTagAllPattern <pattern>like LeaderfBufTagAll, withpatterninputted in advance:LeaderfBufTagAllCwordlike LeaderfBufTagAll, with word under the cursor as pattern inputted in advance:LeaderfFunctionPattern <pattern>like LeaderfFunction, withpatterninputted in advance:LeaderfFunctionCwordlike LeaderfFunction, with word under the cursor as pattern inputted in advance:LeaderfFunctionAllPattern <pattern>like LeaderfFunctionAll, withpatterninputted in advance:LeaderfFunctionAllCwordlike LeaderfFunctionAll, with word under the cursor as pattern inputted in advance:LeaderfLinePattern <pattern>like LeaderfLine, withpatterninputted in advance:LeaderfLineCwordlike LeaderfLine, with word under the cursor as pattern inputted in advance:LeaderfLineAllPattern <pattern>like LeaderfLineAll, withpatterninputted in advance:LeaderfLineAllCwordlike LeaderfLineAll, with word under the cursor as pattern inputted in advance:LeaderfHelpPattern <pattern>like LeaderfHelp, withpatterninputted in advance:LeaderfHelpCwordlike LeaderfHelp, with word under the cursor as pattern inputted in advance
Bug fixes:
- Fix issue that git can not list untracked files.
- Suppress error messages of rg.
- Fix Esc delay issue.
- BUG #48: Typing in the prompt is slow for Macvim.
- BUG #53
- BUG #56: "NameError: global name 'FileNotFoundError' is not defined".
- BUG #59: Sometimes g:Lf_CommandMap did not take effect.
- BUG #61: :LeaderfHistorySearch error.
- Refactor the highlight functions fix a crash when text = 'shF一.txt' pattern = 'sf'
solution:
pattern_mask[tolower(c)]=>pattern_mask[(uint8_t)tolower(c)] - Fix an issue that if
set guicursor=a:block-blinkon0, the cursor disappears after launching and quitting LeaderF - BUG #81:
Error when searching using
;. - BUG #82:
Can't open file in directory with
+as first character of directory name. - BUG #88: Suppress the error message.
- BUG #89
Feature enhancements:
- FEATURE #35: Add async support.
- Add preview support for bufTagExpl
- Add preview support for functionExpl
- Make preview available in normal mode
- Add SelfExpl
Bug fixes:
- Minor bug fixed.
Only supports vim7.4.330+ from this version release.
BREAKING CHANGES:
- Change the default value of
g:Lf_PreviewCodefrom 1 to 0.
Feature enhancements:
- Enhance the UI of bufExplorer and mruExplorer.
- Replace vim.command with lfCmd, replace vim.eval with lfEval.
- Beautify the statusline.
- FEATURE #8: Add navigating tags support.
- Add navigating tags of opening buffers.
- Add "autocmd BufWipeout" to clear useless cache.
- Add
LeaderfFunctionandLeaderfFunctionAll. - Add
LeaderfLineandLeaderfLineAll. - Add
LeaderfHistoryCmdandLeaderfHistorySearch. - A little optimization of fuzzy match algorithm.
- Add async support and execute command in parallel
- Add support for external command use '
rg', 'pt', 'ag', 'find' by default - Add
g:Lf_DefaultExternalTool,g:Lf_UseVersionControlTool
Bug fixes:
- Fix an issue that highlight is wrong when
g:Lf_ShowRelativePathis 0 e.g. c:\abc.txt - Fix an issue that it will get stuck if select too many files
- Fix wsdjeg/SpaceVim#52
- '
modifiable' attribute must have a Boolean value - BUG #41: High cup usage.
- BUG #44: Install error on OSX.
- Fix the issue that can not open file, the issue is caused by 47d340a.
- BUG #46:
<leader>is not always ','. - Some workarounds for neovim.
- Do not show "Type :quit to exit Nvim"
- BUG #48: Typing in the prompt is slow.
- Fix an issue that can not terminate the python subprocess launched with shell=True.
- BUG vim #1738
- subprocess 'shell=False' can not use pipe e.g.
find . -type f | sed 's#\./##' - fix a bug that if g:Lf_WildIgnore has '.' in it
- BUG #50
This is the last version release that supports vim7.3.
- Optimize the fuzzy matching algorithm.
- Fix many bugs.
- Change license to Apache License, Version 2.0.
Initial commit.