Update nixvim, add noice and notify
This commit is contained in:
parent
d8663a36d8
commit
c99193169b
2 changed files with 50 additions and 34 deletions
|
@ -4,6 +4,9 @@
|
|||
programs.nixvim = {
|
||||
plugins = {
|
||||
lsp-lines.enable = true;
|
||||
lsp-lines.currentLine = true;
|
||||
lspsaga.enable = true;
|
||||
lspsaga.lightbulb.enable = false;
|
||||
crates-nvim.enable = true;
|
||||
lsp = {
|
||||
enable = true;
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
(nmap "<leader>ns" ":NvimTreeFindFile<CR>"// desc "[S]earch NvimTree")
|
||||
(nmap "<leader>nc" ":NvimTreeClose<CR>" // desc "[C]lose NvimTree")
|
||||
(nmap "<leader>nr" ":NvimTreeRefresh<CR>" // desc "[R]efresh NvimTree")
|
||||
(nmap "<leader>nT" ":NoiceTelescope<CR>" // desc "Noice [T]elescope")
|
||||
# ToggleTerm
|
||||
(nmap "<leader>Tt" ":ToggleTerm<CR>" // desc "[T]oggle Terminal")
|
||||
(nmap "<leader>Ts" ":TermSelect<CR>" // desc "[S]elect a terminal")
|
||||
|
@ -107,6 +108,18 @@
|
|||
];
|
||||
|
||||
plugins = {
|
||||
# Testing
|
||||
noice = {
|
||||
enable = true;
|
||||
popupmenu.enabled = true;
|
||||
};
|
||||
notify = {
|
||||
enable = true;
|
||||
topDown = true;
|
||||
fps = 60;
|
||||
stages = "slide";
|
||||
};
|
||||
|
||||
# Git related
|
||||
# Gutter information for git modifications
|
||||
gitsigns.enable = true;
|
||||
|
@ -193,7 +206,7 @@
|
|||
"<leader>c" = "Colorscheme...";
|
||||
"<leader>g" = "Git Options...";
|
||||
"<leader>l" = "LSP Options...";
|
||||
"<leader>n" = "NvimTree...";
|
||||
"<leader>n" = "NvimTree / Noice...";
|
||||
"<leader>t" = "Trouble...";
|
||||
"<leader>T" = "ToggleTerm...";
|
||||
"<leader>w" = "Manage Windows...";
|
||||
|
|
Loading…
Reference in a new issue