Updated flake inputs

This commit is contained in:
2025-01-06 16:26:44 -05:00
parent 92e4ded24e
commit 3857e144e6
77 changed files with 10748 additions and 221 deletions

View File

@@ -15,6 +15,12 @@
desc =
"Load previous session window settings for the opened file (folds, cursor pos, etc)";
}
{
command = "silent! FloatermNew --name=def_term --width=0.8 --height=0.8 --wintype=topright --silent";
event = [ "VimEnter" ];
pattern = [ "*" ];
desc = "Start the floaterm window";
}
];
};
}

View File

@@ -6,24 +6,14 @@
key = "!fs";
mode = "n";
}
{
action = "<cmd>UndotreeToggle<CR>"; # select entire document
key = "!t";
mode = "n";
}
{
action = "gg<S-V>G"; # select entire document
key = "<C-a>";
mode = "n";
}
{
action = "<cmd>ChatGPTEditWithInstructions<CR>";
key = "!egpt";
mode = "n";
}
{
action = "<cmd>ChatGPTCompleteCode<CR>";
key = "!cgpt";
mode = "n";
}
{
action = "<cmd>ChatGPT<CR>";
key = "!gpt";
key = "!a";
mode = "n";
}
{
@@ -31,11 +21,6 @@
key = "!ca";
mode = "n";
}
{
action = "<cmd>Telescope<CR>";
key = "!t";
mode = "n";
}
{
action = "<cmd>lua vim.lsp.buf.format()<CR>";
key = "!fmt";
@@ -57,20 +42,15 @@
mode = "n";
}
{
action = "<cmd>FloatermToggle shadeterm<CR>";
action = "<cmd>FloatermToggle def_term<CR>";
key = "<F2>";
mode = "n";
mode = [ "n" "t" ];
}
{
action = "<cmd>NvimTreeToggle<CR>";
key = "<F3>";
mode = "n";
}
{
action = "<cmd>FloatermToggle shadeterm<CR>";
key = "<F2>";
mode = "t";
}
{
action = "<cmd>COQnow<CR>";
key = "!cq";

View File

@@ -5,6 +5,7 @@ in {
programs.nixvim = {
colorschemes.base16 = {
enable = true;
colorscheme = "ayu-dark";
#colorscheme = {
# base00 = "#${scheme.base00}";
# base01 = "#${scheme.base01}";
@@ -51,8 +52,10 @@ in {
vim.opt.linebreak = true
vim.opt.textwidth = 0
vim.opt.breakat = " \t!@*-+;:,./?"
vim.opt.guifont = "Fira Code:h18"
vim.g.mapleader = "!"
vim.g.rust_recommended_style = 0
'';
};
}

View File

@@ -0,0 +1,16 @@
{
programs.nixvim = {
plugins.airline = {
enable = true;
settings = {
left_sep = "";
right_sep = "";
powerline_fonts = 1;
theme = "dark";
section_x = "";
section_y = "";
skip_empty_sections = 1;
};
};
};
}

View File

@@ -12,12 +12,15 @@
./lsp.nix
./rustaceanvim.nix
./fidget.nix
./lualine.nix
# ./lualine.nix
./airline.nix
./nvim-lightbulb.nix
./neocord.nix
./plugins.nix
./nvim-tree.nix
./telescope.nix
./indent-blankline.nix
./gitsigns.nix
./extra_plugins.nix
];
}

View File

@@ -0,0 +1,14 @@
{
programs.nixvim = {
plugins.gitsigns = {
enable = true;
settings.signs = {
add.text = "";
change.text = "/";
delete.text = "-";
topdelete.text = "-";
changedelete.text = "\\";
};
};
};
}

View File

@@ -1,16 +1,16 @@
{ pkgs, ... }: {
programs.nixvim = {
extraPlugins = [
(pkgs.vimUtils.buildVimPlugin {
name = "haskell-tools.nvim";
src = pkgs.fetchFromGitHub {
owner = "mrcjkb";
repo = "haskell-tools.nvim";
rev = "39c4ced6f1bff1abc8d4df5027efd11ac38c6e6c";
hash = "sha256-f+M35EwAlHwjJ2Xs2u9FLnyH0FJT22D0LLShDXCbEEs=";
};
})
];
plugins = { haskell-scope-highlighting.enable = true; };
#extraPlugins = [
#(pkgs.vimUtils.buildVimPlugin {
#name = "haskell-tools.nvim";
#src = pkgs.fetchFromGitHub {
#owner = "mrcjkb";
#repo = "haskell-tools.nvim";
#rev = "39c4ced6f1bff1abc8d4df5027efd11ac38c6e6c";
#hash = "sha256-f+M35EwAlHwjJ2Xs2u9FLnyH0FJT22D0LLShDXCbEEs=";
#};
#})
#];
#plugins = { haskell-scope-highlighting.enable = true; };
};
}

View File

@@ -0,0 +1,10 @@
{
programs.nixvim = {
plugins.indent-blankline = {
enable = true;
#settings = {
#indent.char = "│";
#};
};
};
}

View File

@@ -1,7 +1,7 @@
{
programs.nixvim = {
plugins.lualine = {
enable = true;
enable = false;
settings = {
options = {
icons_enabled = true;

View File

@@ -7,11 +7,11 @@
};
nix.enable = true;
endwise.enable = true;
undotree.enable = true;
firenvim.enable = true;
helpview.enable = true;
floaterm.enable = true;
fugitive.enable = true;
gitsigns.enable = true;
indent-blankline.enable = true;
lastplace.enable = true;
markdown-preview.enable = true;

View File

@@ -6,6 +6,7 @@
settings.diagnostics_warn_symbol = "";
settings.diagnostics_hint_symbol = "";
settings.diagnostics_info_symbol = "";
settings.character = "";
};
};
}

View File

@@ -2,19 +2,17 @@
programs.nixvim = {
plugins.vim-matchup = {
enable = true;
enableSurround = true;
textObj.enable = true;
motion = {
enable = true;
cursorEnd = true;
};
matchParen = {
hiSurroundAlways = true;
offscreen = { method = "popup"; };
};
treesitterIntegration = {
enable = true;
includeMatchWords = true;
settings = {
surround_enabled = 1;
text_obj_enabled = 1;
motion_enabled = 1;
motion_cursor_end = 1;
matchparen_deferred_hi_surround_always = true;
matchparen_offscreen = { method = "popup"; };
treesitter = {
enable = true;
include_match_words = true;
};
};
};
};