Commit Graph

139 Commits

Author SHA1 Message Date
bhagwan
81ed9c4d6b git_branches: better remote branches detection 2021-09-08 17:08:39 -07:00
bhagwan
5de5638d37 closes issue #122 2021-09-08 15:50:16 -07:00
bhagwan
01e79fd8c9 git_branches remove --reflog, minor previewer interfaces changes 2021-09-08 14:54:27 -07:00
bhagwan
2016be182a closes issue #119 2021-09-08 09:09:04 -07:00
ibhagwan
71e105e081
Merge pull request #117 from jdrouhard/performance_improvements
More performance improvements
2021-09-08 00:32:38 -07:00
bhagwan
57ce1bff55 live_grep resume search is working again 2021-09-07 23:20:54 -07:00
bhagwan
0d24020629 live_grep escape hyphen, minor modification for 'sk' 2021-09-07 21:31:36 -07:00
bhagwan
9785cafd9a live_grep default changed to native (no resume) temporarily 2021-09-07 21:11:03 -07:00
John Drouhard
a846889c7e More performance improvements for hot-path functions tail() and extension(); improve get_devicon() to be case-insensitive for extension 2021-09-07 20:19:51 -05:00
bhagwan
eb19fb51ac added cwd to search headers, added headers to live_grep 2021-09-07 17:37:08 -07:00
bhagwan
eaf465f9e9 grep, live_grep cwd relative path display 2021-09-07 16:59:13 -07:00
bhagwan
6fc53bc42e fzf_colors added to README 2021-09-07 10:47:02 -07:00
Bogdan Grigoruță
f9415a00fe core: Add support for the fzf --color option 2021-09-07 10:42:50 -07:00
bhagwan
28f0adcfa3 grep: enable empty string search 2021-09-07 01:51:51 -07:00
bhagwan
2afab38370 sk live_grep single quote search fix 2021-09-07 01:22:08 -07:00
bhagwan
67b727bd8e better grep,live_grep search query continuation 2021-09-06 18:56:17 -07:00
bhagwan
befdb5db85 files_resume flicker fix (within issue #103) 2021-09-06 14:45:04 -07:00
bhagwan
2de83f800e added icons to lines|blines 2021-09-06 14:18:55 -07:00
John Drouhard
d04dc95a94 Slight cleanup in make_entry_file(); make buffer list pass correct filename to get_devicon() 2021-09-06 13:59:38 -07:00
John Drouhard
c78712c407 Improve performance of path.tail() and path.extension() by not matching with end-anchor $ 2021-09-06 13:59:38 -07:00
John Drouhard
02ad885d30 File icons: use colors from nvim-web-devicons if available
This improves the colors for file icons if nvim-web-devicons is
available. If it is, fzf-lua now uses those colors for the icons.

This should also improve the performance of make_entry_file by
optimizing string creation and when various regexes are matched.
2021-09-06 13:59:38 -07:00
bhagwan
fa70aa52f8 added 'lines' (closes issue #97) 2021-09-06 13:12:30 -07:00
bhagwan
ae5fc09069 close preview when 'jump_to_single_result = true', also closes issue #105 2021-09-06 12:49:44 -07:00
bhagwan
7fc2c44bd3 compatibility with new LSP handlers (closes issue #109) 2021-09-06 12:26:45 -07:00
bhagwan
07288898af added 'files_resume' (issue #103) 2021-09-05 15:16:49 -07:00
bhagwan
137b246845 file_icon_padding, replace spaces with unicode invisible char 2021-09-05 12:00:57 -07:00
ibhagwan
e94e2bb286
Merge pull request #104 from EdwarKenedy/file_icon_padding
Add file_icon_padding option
2021-09-05 11:55:37 -07:00
bhagwan
ce30520aef closes #102 2021-09-05 10:31:41 -07:00
bhagwan
2617aa1587 added convenience function 'live_grep_resume' 2021-09-05 03:50:08 -07:00
Edwar Martinez
0f713785a0 Add file_icon_padding option 2021-09-05 06:31:00 -04:00
bhagwan
62024ecf9a live_grep saves last search term (closes issue #103) 2021-09-05 03:26:46 -07:00
bhagwan
cc7828d4d2 lsp prompt lables respected again 2021-09-04 20:03:20 -07:00
bhagwan
7a144f81da bugfix: [No Name] buffer, minor live_grep modifications 2021-09-04 19:40:18 -07:00
bhagwan
78895876c2 standardize 'fzf_bin', live_grep options optimizations 2021-09-04 15:02:34 -07:00
bhagwan
5a66cae8ff live_grep further optimizations for empty string queries (both fzf|sk) 2021-09-04 11:30:43 -07:00
bhagwan
5fcbace5ba live_grep: do not perform empty string initial query (closes issue #92) 2021-09-04 04:28:29 -07:00
bhagwan
1837038f8e executed searches|commands will be added to history (closes issue #95) 2021-09-04 03:45:14 -07:00
bhagwan
8feda7fb9c added preview scrolling for terminal buffers 2021-09-04 03:33:06 -07:00
bhagwan
6c349939b8 lsp_code_actions should ignore jump_to_single_result (closes issue #93) 2021-09-04 00:43:09 -07:00
bhagwan
3527c8e532 added '--perl-regexp' to grep options (closest match to rg regex engine) 2021-09-03 19:01:18 -07:00
bhagwan
bdbd662468 better handling of '--ansi' flag, detect extension on filenames with space 2021-09-03 18:49:41 -07:00
bhagwan
2ae75cba96 column support for search matching, default colors for extensions 2021-09-03 17:35:28 -07:00
John Drouhard
d34444e860 Builtin previewer: improve mechanism for backing up/restoring winopts
See :help local-options for more details, but essentially, we have to be
very careful with how we set window-local options on popup windows,
because buffers might take some window-local options from the last
window they were displayed in with them to the new window in certain
circumstances.

This commit changes the backup/restore for the window options so that
the possible window-local options that might get clobbered are saved
from the original active window and reapplied to the preview window just
before it's closed. This ensures any buffers loaded from the picker will
have the same window options applied that were in the active window when
fzf was opened.
2021-09-03 17:40:17 -05:00
bhagwan
d8b5981e92 README: added lua keymap exmaple, removed commented _G.dump(s) 2021-09-03 13:28:50 -07:00
bhagwan
a0f073950b misc previewer title display improvements, grep 'no_esc' option added 2021-09-03 11:31:24 -07:00
bhagwan
93ca0a3adf git_status preview now shows deleted and untracked files 2021-09-02 16:39:12 -07:00
ibhagwan
532cea4291
Merge pull request #90 from jdrouhard/better_git_cwd
Improve git commands so they always run in the git root directory
2021-09-02 12:11:09 -07:00
John Drouhard
6668b04b4b Improve git commands so they always run in the git root directory
This matches the behavior of both fzf.vim and telescope.nvim.

It also fixes a bug with the "git_buf_edit" action if the cwd is not in
the git root.
2021-09-02 12:35:04 -05:00
jpe
f3471b411f Fix loss of git records after checking out older commits 2021-09-02 00:14:33 -04:00
bhagwan
789e0bf310 added 'filetypes' provider 2021-09-01 19:39:01 -07:00