(import-macros {: map!} :hibiscus.vim)
(import-macros {: setup} :macros)

(setup :diffview
  {:keymaps {:view               {:q ":tabc<CR>"}
             :file_panel         {:q ":tabc<CR>"}
             :file_history_panel {:q ":tabc<CR>"}}})

(map! [n] :r ":DiffviewOpen<CR>")
(map! [n] :R ":DiffviewFileHistory %<CR>")
