alejandro-angulo
4e0c1b0724
Moved away from the transparency plugin and instead used the colorscheme's `transparent_background` option.
66 lines
1.2 KiB
Nix
66 lines
1.2 KiB
Nix
{
|
|
# Import all your configuration modules here
|
|
# imports = [./bufferline.nix];
|
|
imports = [
|
|
./plugins/cmp.nix
|
|
./plugins/gitsigns.nix
|
|
./plugins/lazygit.nix
|
|
./plugins/lsp.nix
|
|
./plugins/lualine.nix
|
|
./plugins/rhubarb.nix
|
|
./plugins/telescope.nix
|
|
./plugins/vim-obsession.nix
|
|
];
|
|
|
|
colorschemes.catppuccin = {
|
|
enable = true;
|
|
settings.flavour = "mocha";
|
|
settings.transparent_background = true;
|
|
};
|
|
|
|
opts = {
|
|
expandtab = true;
|
|
number = true;
|
|
relativenumber = true;
|
|
autoindent = true;
|
|
termguicolors = true;
|
|
tabstop = 4;
|
|
shiftwidth = 4;
|
|
mouse = "a";
|
|
# Open files with all folds expanded (`zM` to collapse all)
|
|
foldlevel = 99;
|
|
};
|
|
|
|
globals = {
|
|
mapleader = "`";
|
|
};
|
|
|
|
keymaps = [
|
|
{
|
|
action = "<cmd>:set rnu!<CR>";
|
|
key = "<leader>num";
|
|
}
|
|
];
|
|
|
|
autoCmd = [
|
|
{
|
|
event = ["BufEnter"];
|
|
pattern = ["*"];
|
|
command = "setlocal cursorline";
|
|
}
|
|
{
|
|
event = ["BufLeave"];
|
|
pattern = ["*"];
|
|
command = "setlocal nocursorline";
|
|
}
|
|
];
|
|
|
|
plugins = {
|
|
treesitter.enable = true;
|
|
tmux-navigator.enable = true;
|
|
fugitive.enable = true;
|
|
comment.enable = true;
|
|
rustaceanvim.enable = true;
|
|
};
|
|
}
|