Skip to content

Commit

Permalink
feat(neovim): add snacks.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
natsukium committed Jan 14, 2025
1 parent ebcef6e commit ae36d44
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions pkgs/neovim-with-config/lua/plugins/misc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,4 +221,16 @@ return {
"vim-wakatime",
event = "DeferredUIEnter",
},
{
"snacks.nvim",
after = function()
require("snacks").setup({
lazygit = {},
bigfile = { size = 500 * 1024 },
})
vim.keymap.set("n", "<Space>gg", function()
Snacks.lazygit.open()
end)
end,
},
}
1 change: 1 addition & 0 deletions pkgs/neovim-with-config/plugins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,5 @@ pluginsWithLazy true [
++ (pluginsWithLazy false [
lz-n
nvim-web-devicons
snacks-nvim
])

0 comments on commit ae36d44

Please sign in to comment.