feat: add some buffer-related commands
This commit is contained in:
parent
8f87ddde79
commit
84ee840a9c
2 changed files with 9 additions and 11 deletions
|
@ -10,12 +10,3 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
vim.opt_local.wrap = true
|
||||
end,
|
||||
})
|
||||
|
||||
-- vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
-- group = augroup("close_with_q"),
|
||||
-- pattern = { "fugitive", "git", "gitcommit" },
|
||||
-- callback = function(event)
|
||||
-- vim.bo[event.buf].buflisted = false
|
||||
-- vim.keymap.set("n", "q", "<cmd>close<cr>", { buffer = event.buf, silent = true })
|
||||
-- end,
|
||||
-- })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue