Skip to content

Commit

Permalink
update mason keybindings
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChung committed Jul 7, 2024
1 parent 04379d5 commit 0b9cab9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lua/config/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,3 @@ vim.keymap.set('n', '<leader>tf', builtin.find_files, {})
vim.keymap.set('n', '<leader>tg', builtin.live_grep, {})
vim.keymap.set('n', '<leader>tb', builtin.buffers, {})
vim.keymap.set('n', '<leader>th', builtin.help_tags, {})

-- Set williamboman/mason.nvim open/close toggle
vim.api.nvim_set_keymap("n", "<leader>ma", "<Cmd>Mason<CR>", { noremap = true, silent = true })
7 changes: 7 additions & 0 deletions lua/plugins/mason.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
return {
{
"williamboman/mason.nvim",
keys = {
{
"<leader>ma",
"<Cmd>Mason<CR>",
"Toggle Mason menu (Mason)",
},
},
config = function()
require("mason").setup({
ui = {
Expand Down

0 comments on commit 0b9cab9

Please sign in to comment.