[neovim] Disables Meson. Updates keymaps a bit.

This commit is contained in:
2025-02-15 12:10:46 -08:00
parent a530511813
commit db88767ce0
5 changed files with 19 additions and 8 deletions

View File

@@ -1,8 +1,3 @@
-- Keymaps are automatically loaded on the VeryLazy event
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
-- Add any additional keymaps here
let telescope = require('telescope')
vim.api.nvim_set_keymap("n", "<leader><space><space>", telescope.builtin.oldfiles, { desc = "Telescope: Recent Files"}

View File

@@ -0,0 +1,4 @@
return {
-- Maeson installs it's own binaries that are incompatible with NixOS.
{ "williamboman/mason.nvim", enabled = false },
}

View File

@@ -0,0 +1,13 @@
return {
"nvim-telescope/telescope.nvim",
keys = {
-- Switch the default keybind to switch buffers instead of find files
{
"<leader><space>",
"<cmd>Telescope buffers sort_mru=true sort_lastused=true<cr>",
desc = "Open Files",
},
-- Disable the <leader><comma> since it's so hard to type and redundant with the above.
{ "<leader><comma>", false },
},
}