2024-06-01 06:32:58 +00:00
|
|
|
{
|
|
|
|
# Import all your configuration modules here
|
|
|
|
# imports = [./bufferline.nix];
|
|
|
|
imports = [
|
2024-06-01 17:42:25 +00:00
|
|
|
./plugins/cmp.nix
|
2024-06-01 06:32:58 +00:00
|
|
|
./plugins/gitsigns.nix
|
|
|
|
./plugins/lsp.nix
|
2024-06-01 07:06:50 +00:00
|
|
|
./plugins/lualine.nix
|
2024-06-01 06:32:58 +00:00
|
|
|
./plugins/rhubarb.nix
|
2024-07-26 03:35:03 +00:00
|
|
|
./plugins/telescope.nix
|
2024-07-17 02:56:17 +00:00
|
|
|
./plugins/vim-obsession.nix
|
2024-06-01 06:32:58 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
colorschemes.base16 = {
|
|
|
|
enable = true;
|
|
|
|
colorscheme = "darktooth";
|
|
|
|
};
|
|
|
|
|
|
|
|
opts = {
|
|
|
|
expandtab = true;
|
|
|
|
number = true;
|
|
|
|
relativenumber = true;
|
|
|
|
autoindent = true;
|
|
|
|
termguicolors = true;
|
|
|
|
tabstop = 4;
|
|
|
|
shiftwidth = 4;
|
|
|
|
mouse = "a";
|
2024-07-24 23:06:08 +00:00
|
|
|
# Open files with all folds expanded (`zM` to collapse all)
|
|
|
|
foldlevel = 99;
|
2024-06-01 06:32:58 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
globals = {
|
|
|
|
mapleader = "`";
|
|
|
|
};
|
|
|
|
|
|
|
|
keymaps = [
|
|
|
|
{
|
2024-07-27 05:01:44 +00:00
|
|
|
action = "<cmd>:set rnu!<CR>";
|
|
|
|
key = "<leader>num";
|
2024-06-01 06:32:58 +00:00
|
|
|
}
|
|
|
|
{
|
|
|
|
action = "<cmd>:TransparentToggle<CR>";
|
|
|
|
key = "<leader>t";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
autoCmd = [
|
|
|
|
{
|
|
|
|
event = ["BufEnter"];
|
|
|
|
pattern = ["*"];
|
|
|
|
command = "setlocal cursorline";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
event = ["BufLeave"];
|
|
|
|
pattern = ["*"];
|
|
|
|
command = "setlocal nocursorline";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
plugins = {
|
|
|
|
treesitter.enable = true;
|
|
|
|
tmux-navigator.enable = true;
|
|
|
|
fugitive.enable = true;
|
2024-06-01 15:34:52 +00:00
|
|
|
comment.enable = true;
|
2024-06-03 05:02:28 +00:00
|
|
|
rustaceanvim.enable = true;
|
2024-06-01 06:32:58 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
:TransparentEnable
|
|
|
|
:TransparentDisable
|
|
|
|
:TransparentToggle
|
|
|
|
*/
|
|
|
|
transparent = {
|
|
|
|
enable = true;
|
|
|
|
settings.exclude_groups = [
|
|
|
|
"CursorLine"
|
|
|
|
"CursorLineNr"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|