This commit is contained in:
Hadi
2024-04-14 21:59:30 +02:00
parent 21ce99bfe8
commit 767e9d182d
16 changed files with 82 additions and 71 deletions

View File

@@ -23,8 +23,10 @@
programs.nixvim = {
enable = true;
colorschemes.catppuccin.enable = true;
colorschemes.catppuccin.transparentBackground = true;
colorschemes.catppuccin = {
enable = true;
settings = { transparentBackground = true; };
};
};
}

View File

@@ -1,6 +1,6 @@
{
programs.nixvim.plugins.gitsigns = {
enable = true;
currentLineBlame = false;
settings = { current_line_blame = false; };
};
}

View File

@@ -11,7 +11,6 @@
tailwindcss.enable = true;
html.enable = true;
svelte.enable = true;
pylsp.enable = true;
};
keymaps.lspBuf = {
"gd" = "definition";

View File

@@ -1,7 +1,7 @@
{
programs.nixvim.globals.mapleader = " ";
programs.nixvim.options = {
programs.nixvim.opts = {
updatetime = 50; # Faster completion
number = true;

View File

@@ -3,10 +3,10 @@
enable = true;
keymaps = {
"<leader>fg" = "live_grep";
"<C-p>" = {
action = "git_files";
desc = "Telescope Git Files";
};
#"<C-p>" = {
# action = "git_files";
# desc = "Telescope Git Files";
#};
};
extensions.fzf-native = { enable = true; };
};

View File

@@ -1,7 +1,9 @@
{
programs.nixvim.plugins.toggleterm = {
enable = true;
openMapping = "<C-t>";
direction = "horizontal";
settings = {
open_mapping = "[[<c-t>]]";
direction = "horizontal";
};
};
}