More nixvim options
This commit is contained in:
parent
42429704cb
commit
c855dc7c07
@ -27,6 +27,12 @@ in {
|
|||||||
splitbelow = true;
|
splitbelow = true;
|
||||||
splitright = true;
|
splitright = true;
|
||||||
undofile = true;
|
undofile = true;
|
||||||
|
updatetime = 100;
|
||||||
|
};
|
||||||
|
|
||||||
|
globals = {
|
||||||
|
mapleader = ",";
|
||||||
|
maplocalleader = ",";
|
||||||
};
|
};
|
||||||
|
|
||||||
clipboard = {
|
clipboard = {
|
||||||
@ -74,6 +80,11 @@ in {
|
|||||||
{ name = "path"; }
|
{ name = "path"; }
|
||||||
{ name = "buffer"; }
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
|
mapping = {
|
||||||
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
|
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
|
||||||
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
plugins.telescope = {
|
plugins.telescope = {
|
||||||
@ -102,6 +113,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
highlightDefinitions = {
|
highlightDefinitions = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
clearOnCursorMove = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user