Compare commits

..

No commits in common. "95cd793a0090c5ccfc3698982fcaee41bda6db32" and "8c101a27c6e9bbba7d5602d69900f87a3b05948c" have entirely different histories.

15 changed files with 1 additions and 144 deletions

View file

@ -21,23 +21,6 @@
command = "Neotree"; command = "Neotree";
} }
]; ];
keymaps = [
{
action = "<cmd>LazyGit<CR>";
key = "<C-l>";
mode = "n";
}
{
action = "<cmd>ToggleTerm<CR>";
key = "<C-t>";
mode = "n";
}
{
action = "<cmd>Telescope<CR>";
key = "<C-f>";
mode = "n";
}
];
extraConfigLua = '' extraConfigLua = ''
vim.wo.relativenumber = true vim.wo.relativenumber = true
''; '';

View file

@ -6,23 +6,15 @@ _: {
./editor/bufferline.nix ./editor/bufferline.nix
./editor/autosave.nix ./editor/autosave.nix
./editor/treesitter.nix ./editor/treesitter.nix
./editor/guessindent.nix
./editor/luasnip.nix
./editor/cmp.nix
./lsp/lsp.nix ./lsp/lsp.nix
./lsp/conform.nix ./lsp/conform.nix
./misc/wakatime.nix ./misc/wakatime.nix
./misc/direnv.nix ./misc/direnv.nix
./misc/presence.nix ./misc/presence.nix
./misc/lazygit.nix
./misc/vimbbye.nix
./ui/lualine.nix ./ui/lualine.nix
./ui/mini.nix ./ui/mini.nix
./ui/transparent.nix ./ui/transparent.nix
./ui/telescope.nix ./ui/telescope.nix
./ui/fidget.nix
./ui/dashboard.nix
./ui/toggleterm.nix
]; ];
programs.nixvim.plugins.web-devicons.enable = true; programs.nixvim.plugins.web-devicons.enable = true;
} }

View file

@ -1,27 +0,0 @@
_: {
programs.nixvim.plugins = {
cmp = {
enable = true;
autoEnableSources = true;
settings = {
sources = [
{name = "nvim_lsp";}
{name = "path";}
{name = "buffer";}
{name = "luasnip";}
];
mapping = {
__raw = ''
cmp.mapping.preset.insert({
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete(),
['<C-e>'] = cmp.mapping.abort(),
['<CR>'] = cmp.mapping.confirm({ select = true }),
})
'';
};
};
};
};
}

View file

@ -1,3 +0,0 @@
_: {
programs.nixvim.plugins.guess-indent.enable = true;
}

View file

@ -1,9 +0,0 @@
_: {
programs.nixvim.plugins.luasnip = {
enable = true;
settings = {
enable_autosnippets = true;
store_selection_keys = "<Tab>";
};
};
}

View file

@ -2,13 +2,5 @@ _: {
programs.nixvim.plugins.neo-tree = { programs.nixvim.plugins.neo-tree = {
enable = true; enable = true;
enableDiagnostics = true; enableDiagnostics = true;
extraOptions = {
filesystem = {
filtered_items = {
visible = true;
hide_fotfiles = false;
};
};
};
}; };
} }

View file

@ -11,13 +11,6 @@
toml toml
xml xml
yaml yaml
rust
go
gomod
]; ];
settings = {
highlight.enable = true;
indent.enable = false;
};
}; };
} }

View file

@ -12,21 +12,6 @@
"alejandra" "alejandra"
] ]
]; ];
rust = [
[
"rustfmt"
]
];
go = [
[
"gofmt"
]
];
lua = [
[
"stylua"
]
];
}; };
format_on_save = '' format_on_save = ''
function(bufnr) function(bufnr)
@ -64,15 +49,6 @@
alejandra = { alejandra = {
commmand = "${lib.getExe pkgs.alejandra}"; commmand = "${lib.getExe pkgs.alejandra}";
}; };
rustfmt = {
commmand = "${lib.getExe pkgs.rustfmt}";
};
gofmt = {
commmand = "${lib.getExe pkgs.go}";
};
stylua = {
commmand = "${lib.getExe pkgs.stylua}";
};
}; };
}; };
}; };

View file

@ -27,13 +27,6 @@ _: {
installCargo = true; installCargo = true;
installRustc = true; installRustc = true;
}; };
gopls = {
enable = true;
autostart = true;
};
nushell = {
enable = true;
};
}; };
}; };
}; };

View file

@ -1,3 +0,0 @@
_: {
programs.nixvim.plugins.lazygit.enable = true;
}

View file

@ -1,3 +0,0 @@
_: {
programs.nixvim.plugins.vim-bbye.enable = true;
}

View file

@ -1,5 +0,0 @@
_: {
programs.nixvim.plugins.dashboard = {
enable = true;
};
}

View file

@ -1,8 +0,0 @@
_: {
programs.nixvim.plugins.fidget = {
enable = true;
notification.window = {
winblend = 0;
};
};
}

View file

@ -1,13 +0,0 @@
_: {
programs.nixvim.plugins.toggleterm = {
enable = true;
settings = {
direction = "float";
float_opts = {
border = "curved";
height = 30;
width = 130;
};
};
};
}

View file

@ -9,7 +9,6 @@ alias la = eza -alughHo --git --icons --color always
alias calc = eva alias calc = eva
alias c = clear alias c = clear
alias f = yazi alias f = yazi
alias v = nvim
alias cat = bat alias cat = bat
alias rm = rm -i alias rm = rm -i
alias cp = cp -i alias cp = cp -i
@ -78,7 +77,7 @@ $env.config = {
metric: true # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard) metric: true # true => KB, MB, GB (ISO standard), false => KiB, MiB, GiB (Windows standard)
format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto format: "auto" # b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib, zb, zib, auto
} }
footer_mode: "auto" # always, never, number_of_rows, auto footer_mode: "25" # always, never, number_of_rows, auto
float_precision: 2 float_precision: 2
# buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL # buffer_editor: "emacs" # command that will be used to edit the current line buffer with ctrl+o, if unset fallback to $env.EDITOR and $env.VISUAL
use_ansi_coloring: true use_ansi_coloring: true