[neovim] Disables Meson. Updates keymaps a bit.
This commit is contained in:
@@ -2,5 +2,6 @@
|
|||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
stylua # Formatter
|
stylua # Formatter
|
||||||
|
lua-language-server # LSP
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
-- Keymaps are automatically loaded on the VeryLazy event
|
-- 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
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
-- Add any additional keymaps here
|
-- 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"}
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
return {
|
||||||
|
-- Maeson installs it's own binaries that are incompatible with NixOS.
|
||||||
|
{ "williamboman/mason.nvim", enabled = false },
|
||||||
|
}
|
||||||
@@ -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 },
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
# Set up the user's prompt as ZSH with Starship
|
# Set up the user's prompt as ZSH with Starship
|
||||||
{ pkgs, inputs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -61,5 +61,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user