Skip to content

Commit

Permalink
added mini plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Sinclair committed Feb 7, 2023
1 parent 3e4178e commit 19d41c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/envi/plugins/mini.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ local M = {}

M.setup = function()
require("mini.ai").setup()
require("mini.move").setup()
--[[ require("mini.surround").setup() ]]

local MiniBuf = require "mini.bufremove"
MiniBuf.setup {}
-- hide the current buffer
vim.keymap.set("n", "<leader>X", function()
MiniBuf.unshow()
MiniBuf.unshow(0)
end)
-- close the current buffer
vim.keymap.set("n", "<leader>x", function()
MiniBuf.delete()
MiniBuf.delete(0, false)
end)
end

Expand Down

0 comments on commit 19d41c0

Please sign in to comment.