638 Commits (main)
 

Author SHA1 Message Date
bhagwan 07288898af added 'files_resume' (issue #103) 3 years ago
bhagwan 137b246845 file_icon_padding, replace spaces with unicode invisible char 3 years ago
ibhagwan e94e2bb286
Merge pull request #104 from EdwarKenedy/file_icon_padding
Add file_icon_padding option
3 years ago
ibhagwan 3a7f36996a
Merge pull request #107 from hqkhan/iss_106
Very minor README change (git_branches)
3 years ago
Hassaan f9d5839649 Git command update: git_branch -> git_branches 3 years ago
bhagwan ce30520aef closes #102 3 years ago
bhagwan 2617aa1587 added convenience function 'live_grep_resume' 3 years ago
Edwar Martinez 0f713785a0 Add file_icon_padding option 3 years ago
bhagwan 62024ecf9a live_grep saves last search term (closes issue #103) 3 years ago
bhagwan cc7828d4d2 lsp prompt lables respected again 3 years ago
bhagwan 7a144f81da bugfix: [No Name] buffer, minor live_grep modifications 3 years ago
bhagwan 78895876c2 standardize 'fzf_bin', live_grep options optimizations 3 years ago
bhagwan 5a66cae8ff live_grep further optimizations for empty string queries (both fzf|sk) 3 years ago
bhagwan 5fcbace5ba live_grep: do not perform empty string initial query (closes issue #92) 3 years ago
bhagwan 1837038f8e executed searches|commands will be added to history (closes issue #95) 3 years ago
bhagwan 8feda7fb9c added preview scrolling for terminal buffers 3 years ago
bhagwan 6c349939b8 lsp_code_actions should ignore jump_to_single_result (closes issue #93) 3 years ago
bhagwan 3527c8e532 added '--perl-regexp' to grep options (closest match to rg regex engine) 3 years ago
bhagwan bdbd662468 better handling of '--ansi' flag, detect extension on filenames with space 3 years ago
bhagwan 2ae75cba96 column support for search matching, default colors for extensions 3 years ago
ibhagwan b4b56e2465
Merge pull request #94 from jdrouhard/improve_previewer_winopts
Builtin previewer: improve mechanism for backing up/restoring winopts
3 years ago
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.
3 years ago
bhagwan d8b5981e92 README: added lua keymap exmaple, removed commented `_G.dump`(s) 3 years ago
bhagwan a0f073950b misc previewer title display improvements, grep 'no_esc' option added 3 years ago
bhagwan 93ca0a3adf git_status preview now shows deleted and untracked files 3 years ago
ibhagwan 532cea4291
Merge pull request #90 from jdrouhard/better_git_cwd
Improve git commands so they always run in the git root directory
3 years ago
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.
3 years ago
jpe be5ba99505 update README 3 years ago
ibhagwan 656feac931
Merge pull request #87 from jpe90/main
Fix loss of git records after checking out older commits
3 years ago
jpe f3471b411f Fix loss of git records after checking out older commits 3 years ago
bhagwan 68a398bc7c Added LICENSE (AGPL) 3 years ago
bhagwan 789e0bf310 added 'filetypes' provider 3 years ago
bhagwan 7b9fe4495e 'git_xxx' now supports 'cwd' option (closes issue #82) 3 years ago
bhagwan e3e6d2643b 'current_buffer_only' option to LSP providers (closes issue #80) 3 years ago
bhagwan 6aff90f99b improved actions for command_history|search_history (closes issue #75) 3 years ago
bhagwan 9fb6a3059f added 'blines' provider (closes issue #77) 3 years ago
bhagwan 1b1de47c57 even better method for filetype detection, ty @jdrouhard! 3 years ago
bhagwan 96bbe33406 better filetype detection, closes issue #74 3 years ago
bhagwan 571ec3a8ca closes issue #78 3 years ago
bhagwan 5472c41f20 bugfix: live_grep with underlying 'grep' 3 years ago
bhagwan 659bd79718 bugfix: grep_curbuf 3 years ago
bhagwan fe4cfcece7 added options to override '--ansi' and '--info' (closes issue #76) 3 years ago
bhagwan 46f186c954 adjust fzf win size when closing preview (issue #73) 3 years ago
ibhagwan fa6c80a8fa
Merge pull request #72 from fsouza/fix-empty-line-preview
Fix empty line in the builtin previewer
3 years ago
francisco souza 9dbaad9f94 Fix empty line in the builtin previewer
Whenever the file ends with newline, the builtin previewer was adding an
empty line at the end of the file. That's a side effect splitting and
rejoining the lines with \n. Basically, when we split a\nb\nc\n we get
{'a', 'b', 'c', ''}, then nvim_buf_set_lines treats each item in the
table as a line, and inserts an empty line at the end.

We do need to account for files that don't end with a new line though,
hence the check.

I don't have a way to test the \r\n logic locally, no Windows hosts
around, but it should work too.
3 years ago
bhagwan 34a2997869 bat_native config|theme to be respected 3 years ago
bhagwan 2aeb0fc36f should close issue #70 3 years ago
bhagwan ba77d4912d bugfix: get_visual_selection with dirty buffers(closes issue #54) 3 years ago
ibhagwan 29844d7299
Merge pull request #68 from jpe90/main
Update README to reference new default git actions
3 years ago
bhagwan bbef641125 fixes issue #67 3 years ago