From 93be902bd22d03b94ff45c6f4eedf9dc9772c055 Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Tue, 13 Jan 2026 21:52:54 +0530 Subject: lua: plugins: productivity: fzf customization for style and preview Signed-off-by: Brahmajit Das --- lua/plugins/productivity.lua | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'lua/plugins') diff --git a/lua/plugins/productivity.lua b/lua/plugins/productivity.lua index df60d43..2686b4f 100644 --- a/lua/plugins/productivity.lua +++ b/lua/plugins/productivity.lua @@ -13,7 +13,18 @@ return { "junegunn/fzf", build = ":call fzf#install()" }, - { "junegunn/fzf.vim" }, + { + "junegunn/fzf.vim", + init = function() + vim.g.fzf_vim = { + grep_multi_line = 1, + preview_window = { 'hidden,right,50%,<70(up,40%)', 'ctrl-/' }, + buffers_options = '--style full --border-label " Open Buffers "', + files_options = '--style full --border-label " Files "', + commits_log_options = '--graph --color=always --format="%C(auto)%h%d %s %C(black)%C(bold)%cr"', + } + end, + }, { "tpope/vim-surround" }, { "junegunn/vim-easy-align" }, } -- cgit v1.2.3