summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <listout@listout.xyz>2026-01-13 16:22:54 +0000
committerBrahmajit Das <listout@listout.xyz>2026-01-13 16:22:54 +0000
commit93be902bd22d03b94ff45c6f4eedf9dc9772c055 (patch)
tree78c202956fbba2922ff4e5148d1aa23d8b5303ce
parent29e6696863daf227004379df71a5b057fbf7b81a (diff)
downloadnvim-93be902bd22d03b94ff45c6f4eedf9dc9772c055.tar.gz
lua: plugins: productivity: fzf customization for style and preview
Signed-off-by: Brahmajit Das <listout@listout.xyz>
-rw-r--r--lua/plugins/productivity.lua13
1 files changed, 12 insertions, 1 deletions
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" },
}