moved to unstable, will need to fix nixvim
This commit is contained in:
parent
6c8fc0837e
commit
e40ebc5d2b
5 changed files with 137 additions and 138 deletions
|
@ -26,6 +26,7 @@ in {
|
|||
shellInit = "
|
||||
zoxide init fish | source
|
||||
starship init fish | source
|
||||
direnv hook fish | source
|
||||
source ~/.config/op/plugins.sh
|
||||
";
|
||||
shellAliases = {
|
||||
|
|
|
@ -128,36 +128,10 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
nvim-cmp = {
|
||||
cmp = {
|
||||
enable = true;
|
||||
autoEnableSources = true;
|
||||
sources = [
|
||||
{
|
||||
name = "nvim_lsp";
|
||||
}
|
||||
{
|
||||
name = "luasnip";
|
||||
}
|
||||
{
|
||||
name = "path";
|
||||
}
|
||||
{
|
||||
name = "buffer";
|
||||
}
|
||||
];
|
||||
mapping = {
|
||||
"<C-Space>" = "cmp.mapping.complete()";
|
||||
"<C-e>" = "cmp.mapping.close()";
|
||||
"<Tab>" = {
|
||||
modes = ["i" "s"];
|
||||
action = "cmp.mapping.select_next_item()";
|
||||
};
|
||||
"<S-Tab>" = {
|
||||
modes = ["i" "s"];
|
||||
action = "cmp.mapping.select_prev_item()";
|
||||
};
|
||||
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||
};
|
||||
settings = {
|
||||
};
|
||||
};
|
||||
|
||||
rainbow-delimiters = {
|
||||
|
|
|
@ -17,7 +17,7 @@ in {
|
|||
services.xserver = {
|
||||
xkb.layout = "us";
|
||||
xkb.variant = "";
|
||||
xkbOptions = "caps:escape";
|
||||
xkb.options = "caps:escape";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue