mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
ref: unified to spaces
This commit is contained in:
parent
81ae302855
commit
c3a3e04571
12 changed files with 276 additions and 276 deletions
|
|
@ -1,15 +1,15 @@
|
|||
vim.keymap.set('n', "<leader><space>", ":Git<CR>5<Down>", { desc = "open fugitive" })
|
||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "fugitive" },
|
||||
callback = function()
|
||||
vim.keymap.set("n", "<leader><space>", ":q<CR>", { desc = "close fugitive", buffer = true })
|
||||
end,
|
||||
pattern = { "fugitive" },
|
||||
callback = function()
|
||||
vim.keymap.set("n", "<leader><space>", ":q<CR>", { desc = "close fugitive", buffer = true })
|
||||
end,
|
||||
})
|
||||
|
||||
vim.keymap.set('n', "<leader>gb", ":Git blame<CR>", { desc = "open fugitive blame" })
|
||||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "fugitiveblame" },
|
||||
callback = function()
|
||||
vim.keymap.set("n", "<leader>gb", ":q<CR>", { desc = "close fugitive blame", buffer = true })
|
||||
end,
|
||||
pattern = { "fugitiveblame" },
|
||||
callback = function()
|
||||
vim.keymap.set("n", "<leader>gb", ":q<CR>", { desc = "close fugitive blame", buffer = true })
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue