mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat: add sad CLI and nvim plugin to find and replace easily
This commit is contained in:
14
nvim/after/plugin/sad.lua
Normal file
14
nvim/after/plugin/sad.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
-- sad.nvim – https://github.com/ray-x/sad.nvim
|
||||
local status_ok, sad = pcall(require, "sad")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
sad.setup({
|
||||
diff = "delta", -- you can use `diff`, `diff-so-fancy`
|
||||
ls_file = "fd", -- also git ls_file
|
||||
exact = false, -- exact match
|
||||
vsplit = true, -- split sad window the screen vertically, when set to number
|
||||
height_ratio = 0.6, -- height ratio of sad window when split horizontally
|
||||
width_ratio = 0.6, -- height ratio of sad window when split vertically
|
||||
})
|
||||
Reference in New Issue
Block a user