mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-30 15:52:23 +00:00
15 lines
661 B
Text
15 lines
661 B
Text
|
(local {: autoload : utils} (require :dots.prelude))
|
||
|
(local cb (autoload :diffview.config))
|
||
|
(local diffview (autoload :diffview))
|
||
|
|
||
|
[(utils.plugin
|
||
|
:sindrets/diffview.nvim
|
||
|
{:cmd ["DiffviewOpen" "DiffviewToggleFiles"]
|
||
|
:config #(diffview.setup
|
||
|
{:diff_binaries false
|
||
|
:file_panel {:width 35
|
||
|
:use_icons false}
|
||
|
:key_bindings {:view {:<leader>dn (cb.diffview_callback "select_next_entry")
|
||
|
:<leader>dp (cb.diffview_callback "select_prev_entry")
|
||
|
:<leader>dd (cb.diffview_callback "toggle_files")}}})})]
|