Skip to content

Commit

Permalink
add keymap for disabling snacks dim
Browse files Browse the repository at this point in the history
  • Loading branch information
bibjaw99 committed Jan 6, 2025
1 parent 61f7339 commit 9481d31
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .config/nvim/lua/grimmvim/core/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@ map(
{ desc = "Notifications", noremap = true, silent = true }
)
map("n", "<leader>cd", ':lua require("snacks").dim()<cr>', { desc = "Dim", noremap = true, silent = true })
map(
"n",
"<leader>cD",
':lua require("snacks").dim.disable()<cr>',
{ desc = "Dim Disable", noremap = true, silent = true }
)
map("n", "<leader>cz", ':lua require("snacks").zen()<cr>', { desc = "Zen Mode", noremap = true, silent = true })
map("n", "<leader>cg", ':lua require("snacks").lazygit()<cr>', { desc = "LazyGit", noremap = true, silent = true })

Expand Down

0 comments on commit 9481d31

Please sign in to comment.