local M = {} M.formatter = { n = { ["b"] = { " Gitsigns toggle_current_line_blame", "Toggled line blames" }, ["bl"] = { " Gitsigns blame_line", "Line blame" }, }, } M.nvimtree = { n = { -- focus ["e"] = { " NvimTreeFocus ", "focus nvimtree" }, ["co"] = { " NvimTreeCollapse ", "Collapse nvimtree" }, }, } M.diffview = { n = { ["df"] = { " DiffviewOpen ", "Open git view" }, ["dr"] = { " DiffviewRefresh ", "Open git view" }, }, } M.custom = { n = { ["fm"] = { ":lua vim.lsp.buf.format() ", "Formats the current buffer using built in LSP" }, ["nt"] = { " tabnew ", "New tab" }, ["ct"] = { " tabclose ", "Close tab" }, ["rf"] = { ":lua require('refactoring').select_refactor()", "options" }, ["q"] = { ":lua require('harpoon.mark').add_file()" }, ["fp"] = { ":lua require('harpoon.ui').toggle_quick_menu()" }, ["lg"] = { ":LazyGit" }, }, v = { ["rf"] = { ":lua require('refactoring').select_refactor()", "options" }, }, } return M