updated home/
This commit is contained in:
parent
b4450deecf
commit
fdc0126f0f
56 changed files with 93 additions and 172 deletions
49
home/programs/nvim/plugins/utils.nix
Normal file
49
home/programs/nvim/plugins/utils.nix
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{ config, ... }: {
|
||||
programs.nixvim = {
|
||||
highlightOverride = {
|
||||
FloatBorder.fg = "#${config.theme.colors.color15}";
|
||||
};
|
||||
plugins = {
|
||||
copilot-vim.enable = true;
|
||||
flash.enable = true;
|
||||
image = {
|
||||
enable = true;
|
||||
integrations.markdown = {
|
||||
clearInInsertMode = true;
|
||||
onlyRenderImageAtCursor = true;
|
||||
};
|
||||
};
|
||||
tmux-navigator.enable = true;
|
||||
comment.enable = true;
|
||||
nvim-autopairs.enable = true;
|
||||
friendly-snippets.enable = true;
|
||||
todo-comments.enable = true;
|
||||
treesitter = {
|
||||
enable = true;
|
||||
nixGrammars = true;
|
||||
settings = {
|
||||
indent.enable = true;
|
||||
highlight.enable = true;
|
||||
};
|
||||
};
|
||||
harpoon = {
|
||||
enable = true;
|
||||
enableTelescope = true;
|
||||
keymapsSilent = true;
|
||||
keymaps = {
|
||||
addFile = "<leader>ha";
|
||||
toggleQuickMenu = "<leader>hu";
|
||||
navNext = "<leader>hl";
|
||||
navPrev = "<leader>hh";
|
||||
navFile = {
|
||||
"1" = "<leader>h1";
|
||||
"2" = "<leader>h2";
|
||||
"3" = "<leader>h3";
|
||||
"4" = "<leader>h4";
|
||||
};
|
||||
};
|
||||
};
|
||||
# treesitter-context.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue